	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2c_pca_pf_waitforcompletion
_i2c_pca_pf_waitforcompletion:          ## @i2c_pca_pf_waitforcompletion
	.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
	movq	%rdi, %r12
	cmpq	$0, 24(%rdi)
	je	LBB0_2
## %bb.1:
	movl	16(%r12), %ebx
	movq	_I2C_PCA_CON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	*(%r12)
	movq	_I2C_PCA_CON_SI@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movq	8(%r12), %rdx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_wait_event_timeout
	movq	%rax, %r15
	jmp	LBB0_7
LBB0_2:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	8(%r12), %r14
	addq	(%rax), %r14
	movq	_I2C_PCA_CON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	*(%r12)
	movq	_I2C_PCA_CON_SI@GOTPCREL(%rip), %r13
	movq	$-1, %r15
	testl	%eax, (%r13)
	jne	LBB0_7
## %bb.3:
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%r14, %rsi
	callq	_time_before
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	%rax, %rbx
	movl	$100, %edi
	callq	_udelay
	movq	_I2C_PCA_CON@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	*(%r12)
	testl	%eax, (%r13)
	je	LBB0_4
## %bb.6:
	movq	%rbx, %r15
LBB0_7:
	xorl	%eax, %eax
	testq	%r15, %r15
	setg	%al
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_PCA_CON,4,2                ## @I2C_PCA_CON
	.comm	_I2C_PCA_CON_SI,4,2             ## @I2C_PCA_CON_SI
	.comm	_jiffies,8,3                    ## @jiffies
	.no_dead_strip	_i2c_pca_pf_waitforcompletion
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2c_pca_pf_waitforcompletion
_i2c_pca_pf_waitforcompletion:          ; @i2c_pca_pf_waitforcompletion
	.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	x19, x0
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	w20, [x19, #16]
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _I2C_PCA_CON@GOTPAGE
Lloh1:
	ldr	x9, [x9, _I2C_PCA_CON@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	x0, x19
	blr	x8
Lloh3:
	adrp	x8, _I2C_PCA_CON_SI@GOTPAGE
Lloh4:
	ldr	x8, [x8, _I2C_PCA_CON_SI@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	and	w1, w8, w0
	ldr	x2, [x19, #8]
	mov	x0, x20
	bl	_wait_event_timeout
	mov	x20, x0
	b	LBB0_7
LBB0_2:
Lloh6:
	adrp	x22, _jiffies@GOTPAGE
Lloh7:
	ldr	x22, [x22, _jiffies@GOTPAGEOFF]
	ldr	x20, [x22]
	ldp	x8, x21, [x19]
Lloh8:
	adrp	x23, _I2C_PCA_CON@GOTPAGE
Lloh9:
	ldr	x23, [x23, _I2C_PCA_CON@GOTPAGEOFF]
	ldr	w1, [x23]
	mov	x0, x19
	blr	x8
Lloh10:
	adrp	x24, _I2C_PCA_CON_SI@GOTPAGE
Lloh11:
	ldr	x24, [x24, _I2C_PCA_CON_SI@GOTPAGEOFF]
	ldr	w8, [x24]
	tst	w8, w0
	b.eq	LBB0_4
; %bb.3:
	mov	x20, #-1
	b	LBB0_7
LBB0_4:
	add	x21, x21, x20
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x22]
	mov	x1, x21
	bl	_time_before
	mov	x20, x0
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #100
	bl	_udelay
	ldr	x8, [x19]
	ldr	w1, [x23]
	mov	x0, x19
	blr	x8
	ldr	w8, [x24]
	tst	w8, w0
	b.eq	LBB0_5
LBB0_7:
	cmp	x20, #0
	cset	w0, gt
	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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_PCA_CON,4,2                ; @I2C_PCA_CON
	.comm	_I2C_PCA_CON_SI,4,2             ; @I2C_PCA_CON_SI
	.comm	_jiffies,8,3                    ; @jiffies
	.no_dead_strip	_i2c_pca_pf_waitforcompletion
.subsections_via_symbols
