	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function i2c_algo_dp_aux_stop
_i2c_algo_dp_aux_stop:                  ## @i2c_algo_dp_aux_stop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	(%rdi), %rbx
	cmpl	$0, (%rbx)
	je	LBB0_5
## %bb.1:
	movq	_MODE_I2C_STOP@GOTPCREL(%rip), %rax
	testl	%esi, %esi
	jne	LBB0_2
## %bb.3:
	movq	_MODE_I2C_WRITE@GOTPCREL(%rip), %rcx
	jmp	LBB0_4
LBB0_2:
	movq	_MODE_I2C_READ@GOTPCREL(%rip), %rcx
LBB0_4:
	movl	(%rcx), %esi
	orl	(%rax), %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_i2c_algo_dp_aux_transaction
	movl	$0, (%rbx)
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MODE_I2C_STOP,4,2              ## @MODE_I2C_STOP
	.comm	_MODE_I2C_READ,4,2              ## @MODE_I2C_READ
	.comm	_MODE_I2C_WRITE,4,2             ## @MODE_I2C_WRITE
	.no_dead_strip	_i2c_algo_dp_aux_stop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function i2c_algo_dp_aux_stop
_i2c_algo_dp_aux_stop:                  ; @i2c_algo_dp_aux_stop
	.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
	ldr	x19, [x0]
	ldr	w8, [x19]
	cbz	w8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _MODE_I2C_STOP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MODE_I2C_STOP@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MODE_I2C_WRITE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MODE_I2C_WRITE@GOTPAGEOFF]
Lloh5:
	adrp	x10, _MODE_I2C_READ@GOTPAGE
Lloh6:
	ldr	x10, [x10, _MODE_I2C_READ@GOTPAGEOFF]
	cmp	w1, #0
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	w2, #0
	mov	x3, #0
	bl	_i2c_algo_dp_aux_transaction
	str	wzr, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MODE_I2C_STOP,4,2              ; @MODE_I2C_STOP
	.comm	_MODE_I2C_READ,4,2              ; @MODE_I2C_READ
	.comm	_MODE_I2C_WRITE,4,2             ; @MODE_I2C_WRITE
	.no_dead_strip	_i2c_algo_dp_aux_stop
.subsections_via_symbols
