	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isl6423_write
_isl6423_write:                         ## @isl6423_write
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movl	%esi, %ecx
	movl	%esi, -12(%rbp)
	movq	(%rdi), %rax
	movq	8(%rdi), %rbx
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	leaq	-12(%rbp), %rax
	movq	%rax, -32(%rbp)
	movq	$1, -24(%rbp)
	movq	_FE_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
	movl	$1, %esi
	callq	_dprintk
	leaq	-40(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_i2c_transfer
	movl	%eax, %ebx
	xorl	%eax, %eax
	testl	%ebx, %ebx
	jns	LBB0_2
## %bb.1:
	movq	_FE_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rdx
	movl	$1, %esi
	movl	%ebx, %ecx
	callq	_dprintk
	movl	%ebx, %eax
LBB0_2:
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FE_DEBUG,4,2                   ## @FE_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"write reg %02X"

	.comm	_FE_ERROR,4,2                   ## @FE_ERROR
L_.str.1:                               ## @.str.1
	.asciz	"I/O error <%d>"

	.no_dead_strip	_isl6423_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function isl6423_write
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_isl6423_write:                         ; @isl6423_write
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x3, x1
	stur	w1, [x29, #-20]
	ldp	x8, x19, [x0]
	ldr	w8, [x8]
	str	w8, [sp]
	sub	x8, x29, #20
	str	x8, [sp, #8]
Lloh0:
	adrp	x8, lCPI0_0@PAGE
Lloh1:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #16]
Lloh2:
	adrp	x8, _FE_DEBUG@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FE_DEBUG@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #1
	bl	_dprintk
	mov	x1, sp
	mov	x0, x19
	mov	w2, #1
	bl	_i2c_transfer
	tbnz	w0, #31, LBB0_2
; %bb.1:
	mov	w19, #0
	b	LBB0_3
LBB0_2:
	mov	x19, x0
Lloh7:
	adrp	x8, _FE_ERROR@GOTPAGE
Lloh8:
	ldr	x8, [x8, _FE_ERROR@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w1, #1
	mov	x3, x19
	bl	_dprintk
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdrp	Lloh0, Lloh2
	.loh AdrpLdr	Lloh0, Lloh1
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_FE_DEBUG,4,2                   ; @FE_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"write reg %02X"

	.comm	_FE_ERROR,4,2                   ; @FE_ERROR
l_.str.1:                               ; @.str.1
	.asciz	"I/O error <%d>"

	.no_dead_strip	_isl6423_write
.subsections_via_symbols
