	.file	"extr_zx-tdm.c_zx_tdm_init_state.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	zx_tdm_init_state, @function
zx_tdm_init_state:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edx, DWORD PTR PROCESS_DISABLE_ALL[rip]
	mov	esi, DWORD PTR REG_PROCESS_CTRL[rip]
	call	zx_tdm_writel@PLT
	mov	esi, DWORD PTR REG_TIMING_CTRL[rip]
	mov	rdi, rbp
	call	zx_tdm_readl@PLT
	mov	edx, DWORD PTR TIMING_CLK_SEL_MASK[rip]
	mov	esi, DWORD PTR REG_TIMING_CTRL[rip]
	mov	rdi, rbp
	or	eax, DWORD PTR TIMING_LSB_FIRST[rip]
	not	edx
	and	edx, eax
	or	edx, DWORD PTR TIMING_CLK_SEL_DEF[rip]
	call	zx_tdm_writel@PLT
	mov	edx, DWORD PTR INT_DISABLE_ALL[rip]
	mov	esi, DWORD PTR REG_INT_EN[rip]
	mov	rdi, rbp
	call	zx_tdm_writel@PLT
	mov	edx, DWORD PTR INT_STATUS_MASK[rip]
	mov	esi, DWORD PTR REG_INT_STATUS[rip]
	mov	rdi, rbp
	call	zx_tdm_writel@PLT
	mov	edx, DWORD PTR FIFOCTRL_RX_FIFO_RST[rip]
	mov	esi, DWORD PTR REG_RX_FIFO_CTRL[rip]
	mov	rdi, rbp
	call	zx_tdm_writel@PLT
	mov	edx, DWORD PTR FIFOCTRL_TX_FIFO_RST[rip]
	mov	esi, DWORD PTR REG_TX_FIFO_CTRL[rip]
	mov	rdi, rbp
	call	zx_tdm_writel@PLT
	mov	esi, DWORD PTR REG_RX_FIFO_CTRL[rip]
	mov	rdi, rbp
	call	zx_tdm_readl@PLT
	mov	ebx, DWORD PTR RXTH_MASK[rip]
	mov	edi, 8
	or	ebx, DWORD PTR RX_FIFO_RST_MASK[rip]
	not	ebx
	and	ebx, eax
	call	FIFOCTRL_THRESHOLD@PLT
	mov	esi, DWORD PTR REG_RX_FIFO_CTRL[rip]
	mov	rdi, rbp
	or	ebx, eax
	mov	edx, ebx
	call	zx_tdm_writel@PLT
	mov	esi, DWORD PTR REG_TX_FIFO_CTRL[rip]
	mov	rdi, rbp
	call	zx_tdm_readl@PLT
	mov	ebx, DWORD PTR TXTH_MASK[rip]
	mov	edi, 8
	or	ebx, DWORD PTR TX_FIFO_RST_MASK[rip]
	not	ebx
	and	ebx, eax
	call	FIFOCTRL_THRESHOLD@PLT
	mov	esi, DWORD PTR REG_TX_FIFO_CTRL[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	or	ebx, eax
	mov	edx, ebx
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	zx_tdm_writel@PLT
	.cfi_endproc
.LFE0:
	.size	zx_tdm_init_state, .-zx_tdm_init_state
	.comm	TX_FIFO_RST_MASK,4,4
	.comm	TXTH_MASK,4,4
	.comm	TIMING_LSB_FIRST,4,4
	.comm	TIMING_CLK_SEL_MASK,4,4
	.comm	TIMING_CLK_SEL_DEF,4,4
	.comm	RX_FIFO_RST_MASK,4,4
	.comm	RXTH_MASK,4,4
	.comm	REG_TX_FIFO_CTRL,4,4
	.comm	REG_TIMING_CTRL,4,4
	.comm	REG_RX_FIFO_CTRL,4,4
	.comm	REG_PROCESS_CTRL,4,4
	.comm	REG_INT_STATUS,4,4
	.comm	REG_INT_EN,4,4
	.comm	PROCESS_DISABLE_ALL,4,4
	.comm	INT_STATUS_MASK,4,4
	.comm	INT_DISABLE_ALL,4,4
	.comm	FIFOCTRL_TX_FIFO_RST,4,4
	.comm	FIFOCTRL_RX_FIFO_RST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_zx-tdm.c_zx_tdm_init_state.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	zx_tdm_init_state, %function
zx_tdm_init_state:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r4, r0
	ldr	r3, .L4
	ldr	r2, .L4+4
	ldr	r5, .L4+8
	ldr	r1, [r3]
	ldr	r2, [r2]
	bl	zx_tdm_writel
	ldr	r1, [r5]
	mov	r0, r4
	bl	zx_tdm_readl
	ldr	r2, .L4+12
	ldr	r3, .L4+16
	ldr	r2, [r2]
	ldr	r1, .L4+20
	ldr	r3, [r3]
	orr	r0, r0, r2
	ldr	r2, [r1]
	bic	r0, r0, r3
	ldr	r1, [r5]
	orr	r2, r0, r2
	mov	r0, r4
	bl	zx_tdm_writel
	ldr	r3, .L4+24
	ldr	r2, .L4+28
	ldr	r1, [r3]
	mov	r0, r4
	ldr	r2, [r2]
	bl	zx_tdm_writel
	ldr	r3, .L4+32
	ldr	r2, .L4+36
	ldr	r1, [r3]
	mov	r0, r4
	ldr	r2, [r2]
	bl	zx_tdm_writel
	ldr	r7, .L4+40
	ldr	r3, .L4+44
	ldr	r1, [r7]
	ldr	r2, [r3]
	mov	r0, r4
	bl	zx_tdm_writel
	ldr	r6, .L4+48
	ldr	r3, .L4+52
	ldr	r1, [r6]
	ldr	r2, [r3]
	mov	r0, r4
	bl	zx_tdm_writel
	ldr	r1, [r7]
	mov	r0, r4
	bl	zx_tdm_readl
	mov	r5, r0
	ldr	r2, .L4+56
	ldr	r3, .L4+60
	ldr	r2, [r2]
	ldr	r3, [r3]
	mov	r0, #8
	orr	r2, r2, r3
	bic	r5, r5, r2
	bl	FIFOCTRL_THRESHOLD
	ldr	r1, [r7]
	orr	r2, r5, r0
	mov	r0, r4
	bl	zx_tdm_writel
	ldr	r1, [r6]
	mov	r0, r4
	bl	zx_tdm_readl
	mov	r5, r0
	ldr	r2, .L4+64
	ldr	r3, .L4+68
	ldr	r2, [r2]
	ldr	r3, [r3]
	mov	r0, #8
	orr	r2, r2, r3
	bic	r5, r5, r2
	bl	FIFOCTRL_THRESHOLD
	ldr	r1, [r6]
	orr	r2, r5, r0
	mov	r0, r4
	pop	{r4, r5, r6, r7, r8, lr}
	b	zx_tdm_writel
.L5:
	.align	2
.L4:
	.word	REG_PROCESS_CTRL
	.word	PROCESS_DISABLE_ALL
	.word	REG_TIMING_CTRL
	.word	TIMING_LSB_FIRST
	.word	TIMING_CLK_SEL_MASK
	.word	TIMING_CLK_SEL_DEF
	.word	REG_INT_EN
	.word	INT_DISABLE_ALL
	.word	REG_INT_STATUS
	.word	INT_STATUS_MASK
	.word	REG_RX_FIFO_CTRL
	.word	FIFOCTRL_RX_FIFO_RST
	.word	REG_TX_FIFO_CTRL
	.word	FIFOCTRL_TX_FIFO_RST
	.word	RXTH_MASK
	.word	RX_FIFO_RST_MASK
	.word	TXTH_MASK
	.word	TX_FIFO_RST_MASK
	.size	zx_tdm_init_state, .-zx_tdm_init_state
	.comm	TX_FIFO_RST_MASK,4,4
	.comm	TXTH_MASK,4,4
	.comm	TIMING_LSB_FIRST,4,4
	.comm	TIMING_CLK_SEL_MASK,4,4
	.comm	TIMING_CLK_SEL_DEF,4,4
	.comm	RX_FIFO_RST_MASK,4,4
	.comm	RXTH_MASK,4,4
	.comm	REG_TX_FIFO_CTRL,4,4
	.comm	REG_TIMING_CTRL,4,4
	.comm	REG_RX_FIFO_CTRL,4,4
	.comm	REG_PROCESS_CTRL,4,4
	.comm	REG_INT_STATUS,4,4
	.comm	REG_INT_EN,4,4
	.comm	PROCESS_DISABLE_ALL,4,4
	.comm	INT_STATUS_MASK,4,4
	.comm	INT_DISABLE_ALL,4,4
	.comm	FIFOCTRL_TX_FIFO_RST,4,4
	.comm	FIFOCTRL_RX_FIFO_RST,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
