	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function davinci_i2c_set_scl
_davinci_i2c_set_scl:                   ## @davinci_i2c_set_scl
	.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
	movl	%esi, %ebx
	callq	_i2c_get_adapdata
	testl	%ebx, %ebx
	movq	_DAVINCI_I2C_DSET_REG@GOTPCREL(%rip), %rcx
	cmoveq	_DAVINCI_I2C_DCLR_REG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_DAVINCI_I2C_DSET_PDSET0@GOTPCREL(%rip), %rcx
	cmoveq	_DAVINCI_I2C_DCLR_PDCLR0@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_davinci_i2c_write_reg          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DAVINCI_I2C_DSET_REG,4,2       ## @DAVINCI_I2C_DSET_REG
	.comm	_DAVINCI_I2C_DSET_PDSET0,4,2    ## @DAVINCI_I2C_DSET_PDSET0
	.comm	_DAVINCI_I2C_DCLR_REG,4,2       ## @DAVINCI_I2C_DCLR_REG
	.comm	_DAVINCI_I2C_DCLR_PDCLR0,4,2    ## @DAVINCI_I2C_DCLR_PDCLR0
	.no_dead_strip	_davinci_i2c_set_scl
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function davinci_i2c_set_scl
_davinci_i2c_set_scl:                   ; @davinci_i2c_set_scl
	.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, x1
	bl	_i2c_get_adapdata
Lloh0:
	adrp	x8, _DAVINCI_I2C_DCLR_REG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DAVINCI_I2C_DCLR_REG@GOTPAGEOFF]
Lloh2:
	adrp	x9, _DAVINCI_I2C_DSET_REG@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DAVINCI_I2C_DSET_REG@GOTPAGEOFF]
	cmp	w19, #0
	csel	x8, x8, x9, eq
Lloh4:
	adrp	x9, _DAVINCI_I2C_DCLR_PDCLR0@GOTPAGE
Lloh5:
	ldr	x9, [x9, _DAVINCI_I2C_DCLR_PDCLR0@GOTPAGEOFF]
Lloh6:
	adrp	x10, _DAVINCI_I2C_DSET_PDSET0@GOTPAGE
Lloh7:
	ldr	x10, [x10, _DAVINCI_I2C_DSET_PDSET0@GOTPAGEOFF]
	ldr	w1, [x8]
	csel	x8, x9, x10, eq
	ldr	w2, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_davinci_i2c_write_reg
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_DAVINCI_I2C_DSET_REG,4,2       ; @DAVINCI_I2C_DSET_REG
	.comm	_DAVINCI_I2C_DSET_PDSET0,4,2    ; @DAVINCI_I2C_DSET_PDSET0
	.comm	_DAVINCI_I2C_DCLR_REG,4,2       ; @DAVINCI_I2C_DCLR_REG
	.comm	_DAVINCI_I2C_DCLR_PDCLR0,4,2    ; @DAVINCI_I2C_DCLR_PDCLR0
	.no_dead_strip	_davinci_i2c_set_scl
.subsections_via_symbols
