	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2c_pxa_irq_txempty
_i2c_pxa_irq_txempty:                   ## @i2c_pxa_irq_txempty
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r15
	callq	__ICR
	movl	%eax, %edi
	callq	_readl
	movq	_ICR_START@GOTPCREL(%rip), %r13
	movq	_ICR_STOP@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	orl	(%r13), %r14d
	movq	_ICR_ACKNAK@GOTPCREL(%rip), %r8
	orl	(%r8), %r14d
	movq	_ICR_TB@GOTPCREL(%rip), %r12
	orl	(%r12), %r14d
	notl	%r14d
	andl	%eax, %r14d
	movq	_ISR_ALD@GOTPCREL(%rip), %rax
	movq	_ISR_BED@GOTPCREL(%rip), %r11
	movq	_ISR_RWM@GOTPCREL(%rip), %r10
	movq	_I2C_M_NOSTART@GOTPCREL(%rip), %r9
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	testl	%ebx, (%rax)
	jne	LBB0_27
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%ebx, (%r11)
	jne	LBB0_3
## %bb.10:                              ##   in Loop: Header=BB0_1 Depth=1
	movslq	(%r15), %rsi
	movq	40(%r15), %rcx
	movl	(%rcx), %edi
	testl	%ebx, (%r10)
	jne	LBB0_11
## %bb.15:                              ##   in Loop: Header=BB0_1 Depth=1
	cmpl	%edi, %esi
	jl	LBB0_16
## %bb.19:                              ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r15), %rsi
	movslq	16(%r15), %rdx
	decq	%rdx
	cmpq	%rdx, %rsi
	jge	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_1 Depth=1
	movl	$0, (%r15)
	incq	%rsi
	movq	%rsi, 8(%r15)
	leaq	24(%rcx), %rdi
	movq	%rdi, 40(%r15)
	movl	(%r9), %edx
	testl	%edx, 40(%rcx)
	jne	LBB0_1
## %bb.21:
	callq	_i2c_pxa_addr_byte
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	__IDBR
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_writel
	movq	_ICR_ALDIE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %r14d
	orl	(%r13), %r14d
	orl	(%r12), %r14d
	jmp	LBB0_26
LBB0_27:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_i2c_pxa_scream_blue_murder     ## TAILCALL
LBB0_3:
	movq	_ISR_ACKNAK@GOTPCREL(%rip), %rax
	testl	%ebx, (%rax)
	je	LBB0_4
## %bb.5:
	cmpl	$0, (%r15)
	jne	LBB0_8
## %bb.6:
	cmpq	$0, 8(%r15)
	je	LBB0_7
LBB0_8:
	movq	_XFER_NAKED@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_11:
	decl	%edi
	cmpl	%edi, %esi
	jne	LBB0_14
## %bb.12:
	movslq	16(%r15), %rax
	decq	%rax
	cmpq	%rax, 8(%r15)
	jne	LBB0_14
## %bb.13:
	movq	_ICR_STOP@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	orl	(%r8), %r14d
LBB0_14:
	movq	_ICR_ALDIE@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	orl	(%r12), %r14d
	jmp	LBB0_26
LBB0_16:
	movq	8(%rcx), %rax
	leal	1(%rsi), %ecx
	movl	%ecx, (%r15)
	movl	(%rax,%rsi,4), %ebx
	movq	%r15, %rdi
	callq	__IDBR
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_writel
	movq	_ICR_ALDIE@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	orl	(%r12), %r14d
	movl	(%r15), %eax
	movq	40(%r15), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_26
## %bb.17:
	movslq	16(%r15), %rax
	decq	%rax
	cmpq	%rax, 8(%r15)
	jne	LBB0_26
## %bb.18:
	movq	_ICR_STOP@GOTPCREL(%rip), %rax
	orl	(%rax), %r14d
	jmp	LBB0_26
LBB0_22:
	testl	%edi, %edi
	jne	LBB0_24
## %bb.23:
	movq	%r15, %rdi
	callq	_i2c_pxa_reset
LBB0_24:
	movq	%r15, %rdi
	xorl	%esi, %esi
	jmp	LBB0_25
LBB0_4:
	movq	_BUS_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_I2C_RETRY@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %esi
	movq	%r15, %rdi
LBB0_25:
	callq	_i2c_pxa_master_complete
LBB0_26:
	movq	24(%r15), %rax
	movslq	32(%r15), %rcx
	movl	%r14d, -4(%rax,%rcx,4)
	movq	%r15, %rdi
	callq	__ICR
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_writel
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_show_state                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ICR_START,4,2                  ## @ICR_START
	.comm	_ICR_STOP,4,2                   ## @ICR_STOP
	.comm	_ICR_ACKNAK,4,2                 ## @ICR_ACKNAK
	.comm	_ICR_TB,4,2                     ## @ICR_TB
	.comm	_ISR_ALD,4,2                    ## @ISR_ALD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ALD set"

	.comm	_ISR_BED,4,2                    ## @ISR_BED
	.comm	_BUS_ERROR,4,2                  ## @BUS_ERROR
	.comm	_ISR_ACKNAK,4,2                 ## @ISR_ACKNAK
	.comm	_I2C_RETRY,4,2                  ## @I2C_RETRY
	.comm	_XFER_NAKED,4,2                 ## @XFER_NAKED
	.comm	_ISR_RWM,4,2                    ## @ISR_RWM
	.comm	_ICR_ALDIE,4,2                  ## @ICR_ALDIE
	.comm	_I2C_M_NOSTART,4,2              ## @I2C_M_NOSTART
	.no_dead_strip	_i2c_pxa_irq_txempty
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2c_pxa_irq_txempty
_i2c_pxa_irq_txempty:                   ; @i2c_pxa_irq_txempty
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x1
	mov	x19, x0
	bl	__ICR
	bl	_readl
Lloh0:
	adrp	x24, _ICR_START@GOTPAGE
Lloh1:
	ldr	x24, [x24, _ICR_START@GOTPAGEOFF]
	ldr	w8, [x24]
Lloh2:
	adrp	x23, _ICR_STOP@GOTPAGE
Lloh3:
	ldr	x23, [x23, _ICR_STOP@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w9, w9, w8
Lloh4:
	adrp	x8, _ICR_ACKNAK@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ICR_ACKNAK@GOTPAGEOFF]
	ldr	w10, [x8]
Lloh6:
	adrp	x22, _ICR_TB@GOTPAGE
Lloh7:
	ldr	x22, [x22, _ICR_TB@GOTPAGEOFF]
	orr	w9, w9, w10
	ldr	w10, [x22]
	orr	w9, w9, w10
	bic	w20, w0, w9
Lloh8:
	adrp	x9, _ISR_ALD@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ISR_ALD@GOTPAGEOFF]
Lloh10:
	adrp	x10, _ISR_BED@GOTPAGE
Lloh11:
	ldr	x10, [x10, _ISR_BED@GOTPAGEOFF]
Lloh12:
	adrp	x11, _ISR_RWM@GOTPAGE
Lloh13:
	ldr	x11, [x11, _ISR_RWM@GOTPAGEOFF]
Lloh14:
	adrp	x12, _I2C_M_NOSTART@GOTPAGE
Lloh15:
	ldr	x12, [x12, _I2C_M_NOSTART@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w13, [x9]
	tst	w13, w21
	b.ne	LBB0_8
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w13, [x10]
	tst	w13, w21
	b.ne	LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	w16, [x11]
	ldrsw	x15, [x19]
	ldr	x13, [x19, #40]
	ldr	w14, [x13]
	tst	w16, w21
	b.ne	LBB0_13
; %bb.4:                                ;   in Loop: Header=BB0_1 Depth=1
	cmp	w15, w14
	b.lt	LBB0_17
; %bb.5:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x15, [x19, #8]
	ldrsw	x16, [x19, #16]
	sub	x16, x16, #1
	cmp	x15, x16
	b.ge	LBB0_20
; %bb.6:                                ;   in Loop: Header=BB0_1 Depth=1
	str	wzr, [x19]
	add	x14, x15, #1
	str	x14, [x19, #8]
	add	x0, x13, #24
	str	x0, [x19, #40]
	ldr	w13, [x13, #40]
	ldr	w14, [x12]
	tst	w14, w13
	b.ne	LBB0_1
; %bb.7:
	bl	_i2c_pxa_addr_byte
	mov	x21, x0
	mov	x0, x19
	bl	__IDBR
	mov	x1, x0
	mov	x0, x21
	bl	_writel
Lloh16:
	adrp	x8, _ICR_ALDIE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ICR_ALDIE@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	bic	w8, w20, w8
	ldr	w9, [x24]
	ldr	w10, [x22]
	orr	w8, w8, w9
	orr	w20, w8, w10
	b	LBB0_27
LBB0_8:
Lloh19:
	adrp	x1, l_.str@PAGE
Lloh20:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_i2c_pxa_scream_blue_murder
LBB0_9:
Lloh21:
	adrp	x8, _ISR_ACKNAK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _ISR_ACKNAK@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_23
; %bb.10:
	ldr	w8, [x19]
	cbnz	w8, LBB0_12
; %bb.11:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_24
LBB0_12:
Lloh24:
	adrp	x8, _XFER_NAKED@GOTPAGE
Lloh25:
	ldr	x8, [x8, _XFER_NAKED@GOTPAGEOFF]
	b	LBB0_25
LBB0_13:
	sub	w9, w14, #1
	cmp	w15, w9
	b.ne	LBB0_16
; %bb.14:
	ldr	x9, [x19, #8]
	ldrsw	x10, [x19, #16]
	sub	x10, x10, #1
	cmp	x9, x10
	b.ne	LBB0_16
; %bb.15:
	ldr	w9, [x23]
	ldr	w8, [x8]
	orr	w9, w9, w20
	orr	w20, w9, w8
LBB0_16:
Lloh26:
	adrp	x8, _ICR_ALDIE@GOTPAGE
Lloh27:
	ldr	x8, [x8, _ICR_ALDIE@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w8, w20
	orr	w20, w8, w9
	b	LBB0_27
LBB0_17:
	ldr	x8, [x13, #8]
	add	w9, w15, #1
	str	w9, [x19]
	ldr	w21, [x8, x15, lsl #2]
	mov	x0, x19
	bl	__IDBR
	mov	x1, x0
	mov	x0, x21
	bl	_writel
Lloh29:
	adrp	x8, _ICR_ALDIE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ICR_ALDIE@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w8, w20
	orr	w20, w8, w9
	ldr	w8, [x19]
	ldr	x9, [x19, #40]
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_27
; %bb.18:
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19, #16]
	sub	x9, x9, #1
	cmp	x8, x9
	b.ne	LBB0_27
; %bb.19:
	ldr	w8, [x23]
	orr	w20, w8, w20
	b	LBB0_27
LBB0_20:
	cbnz	w14, LBB0_22
; %bb.21:
	mov	x0, x19
	bl	_i2c_pxa_reset
LBB0_22:
	mov	x0, x19
	mov	w1, #0
	b	LBB0_26
LBB0_23:
Lloh32:
	adrp	x8, _BUS_ERROR@GOTPAGE
Lloh33:
	ldr	x8, [x8, _BUS_ERROR@GOTPAGEOFF]
	b	LBB0_25
LBB0_24:
Lloh34:
	adrp	x8, _I2C_RETRY@GOTPAGE
Lloh35:
	ldr	x8, [x8, _I2C_RETRY@GOTPAGEOFF]
LBB0_25:
	ldr	w1, [x8]
	mov	x0, x19
LBB0_26:
	bl	_i2c_pxa_master_complete
LBB0_27:
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19, #32]
	add	x8, x8, x9, lsl #2
	stur	w20, [x8, #-4]
	mov	x0, x19
	bl	__ICR
	mov	x1, x0
	mov	x0, x20
	bl	_writel
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_show_state
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGot	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	_ICR_START,4,2                  ; @ICR_START
	.comm	_ICR_STOP,4,2                   ; @ICR_STOP
	.comm	_ICR_ACKNAK,4,2                 ; @ICR_ACKNAK
	.comm	_ICR_TB,4,2                     ; @ICR_TB
	.comm	_ISR_ALD,4,2                    ; @ISR_ALD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ALD set"

	.comm	_ISR_BED,4,2                    ; @ISR_BED
	.comm	_BUS_ERROR,4,2                  ; @BUS_ERROR
	.comm	_ISR_ACKNAK,4,2                 ; @ISR_ACKNAK
	.comm	_I2C_RETRY,4,2                  ; @I2C_RETRY
	.comm	_XFER_NAKED,4,2                 ; @XFER_NAKED
	.comm	_ISR_RWM,4,2                    ; @ISR_RWM
	.comm	_ICR_ALDIE,4,2                  ; @ICR_ALDIE
	.comm	_I2C_M_NOSTART,4,2              ; @I2C_M_NOSTART
	.no_dead_strip	_i2c_pxa_irq_txempty
.subsections_via_symbols
