	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_creg
_write_creg:                            ## @write_creg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%edx, %ecx
	movq	(%rdi), %rdx
	movq	(%rdx), %r8
	movq	16(%rdx), %rdi
	movq	_DDB_CI_EXTERNAL_XO2@GOTPCREL(%rip), %r9
	xorl	%eax, %eax
	cmpq	(%r9), %r8
	sete	%al
	notl	%ecx
	andl	8(%rdx), %ecx
	xorl	$19, %eax
	orl	%esi, %ecx
	movl	%ecx, 8(%rdx)
	movl	%eax, %esi
	movl	$2, %edx
	popq	%rbp
	jmp	_i2c_write_reg                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DDB_CI_EXTERNAL_XO2,8,3        ## @DDB_CI_EXTERNAL_XO2
	.no_dead_strip	_write_creg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_creg
_write_creg:                            ; @write_creg
	.cfi_startproc
; %bb.0:
	ldr	x9, [x0]
	ldr	x0, [x9, #16]
	ldr	x8, [x9]
Lloh0:
	adrp	x10, _DDB_CI_EXTERNAL_XO2@GOTPAGE
Lloh1:
	ldr	x10, [x10, _DDB_CI_EXTERNAL_XO2@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x8, x10
	mov	w8, #18
	cinc	w8, w8, ne
	ldr	w10, [x9, #8]
	bic	w10, w10, w2
	orr	w3, w10, w1
	str	w3, [x9, #8]
	mov	x1, x8
	mov	w2, #2
	b	_i2c_write_reg
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DDB_CI_EXTERNAL_XO2,8,3        ; @DDB_CI_EXTERNAL_XO2
	.no_dead_strip	_write_creg
.subsections_via_symbols
