	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2c_pxa_slave_start
_i2c_pxa_slave_start:                   ## @i2c_pxa_slave_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	__ICR
	movl	%eax, %edi
	callq	_readl
	movq	_ICR_START@GOTPCREL(%rip), %rcx
	movq	_ICR_STOP@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	orl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movq	%r14, %rdi
	callq	__ICR
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_writel
	movq	%r14, %rdi
	callq	__ICR
	movl	%eax, %edi
	callq	_readl
	movl	%eax, %ebx
	movq	_ICR_TB@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	_ICR_ACKNAK@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movq	%r14, %rdi
	callq	__ICR
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_writel
	movl	$65537, %ebx                    ## imm = 0x10001
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	callq	__IBMR
	movl	%eax, %edi
	callq	_readl
	testb	$2, %al
	jne	LBB0_4
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	decl	%ebx
	cmpl	$1, %ebx
	ja	LBB0_1
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
LBB0_4:
	movq	%r14, %rdi
	callq	__ICR
	movl	%eax, %edi
	callq	_readl
	movq	_ICR_SCLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	notl	%ebx
	andl	%eax, %ebx
	movq	%r14, %rdi
	callq	__ICR
	movl	%ebx, %edi
	movl	%eax, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ICR_START,4,2                  ## @ICR_START
	.comm	_ICR_STOP,4,2                   ## @ICR_STOP
	.comm	_ICR_TB,4,2                     ## @ICR_TB
	.comm	_ICR_ACKNAK,4,2                 ## @ICR_ACKNAK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"timeout waiting for SCL high\n"

	.comm	_ICR_SCLE,4,2                   ## @ICR_SCLE
	.no_dead_strip	_i2c_pxa_slave_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2c_pxa_slave_start
_i2c_pxa_slave_start:                   ; @i2c_pxa_slave_start
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	bl	__ICR
	bl	_readl
Lloh0:
	adrp	x8, _ICR_START@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ICR_START@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ICR_STOP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ICR_STOP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bic	w20, w0, w8
	mov	x0, x19
	bl	__ICR
	mov	x1, x0
	mov	x0, x20
	bl	_writel
	mov	x0, x19
	bl	__ICR
	bl	_readl
Lloh6:
	adrp	x8, _ICR_TB@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ICR_TB@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	orr	w8, w8, w0
Lloh9:
	adrp	x9, _ICR_ACKNAK@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ICR_ACKNAK@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w20, w8, w9
	mov	x0, x19
	bl	__ICR
	mov	x1, x0
	mov	x0, x20
	bl	_writel
	mov	w20, #65537
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	__IBMR
	bl	_readl
	tbnz	w0, #1, LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	sub	w20, w20, #1
	cmp	w20, #1
	b.hi	LBB0_1
; %bb.3:
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
LBB0_4:
	mov	x0, x19
	bl	__ICR
	bl	_readl
Lloh14:
	adrp	x8, _ICR_SCLE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ICR_SCLE@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	bic	w20, w0, w8
	mov	x0, x19
	bl	__ICR
	mov	x1, x0
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writel
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_ICR_START,4,2                  ; @ICR_START
	.comm	_ICR_STOP,4,2                   ; @ICR_STOP
	.comm	_ICR_TB,4,2                     ; @ICR_TB
	.comm	_ICR_ACKNAK,4,2                 ; @ICR_ACKNAK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"timeout waiting for SCL high\n"

	.comm	_ICR_SCLE,4,2                   ; @ICR_SCLE
	.no_dead_strip	_i2c_pxa_slave_start
.subsections_via_symbols
