	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isl6423_attach                 ## -- Begin function isl6423_attach
	.p2align	4, 0x90
_isl6423_attach:                        ## @isl6423_attach
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r12
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movq	%r12, 24(%rax)
	movq	%r15, 16(%rax)
	movq	%rax, (%r14)
	movabsq	$412316860480, %rax             ## imm = 0x6000000040
	movq	%rax, (%rbx)
	movq	%r14, %rdi
	callq	_isl6423_set_current
	testq	%rax, %rax
	jne	LBB0_4
## %bb.2:
	movq	%r14, %rdi
	callq	_isl6423_set_modulation
	testq	%rax, %rax
	je	LBB0_3
LBB0_4:
	movq	%rbx, %rdi
	callq	_kfree
	movq	$0, (%r14)
LBB0_5:
	xorl	%r14d, %r14d
LBB0_6:
	movq	%r14, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_isl6423_release@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movq	_isl6423_set_voltage@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 12(%r14)
	movq	_isl6423_voltage_boost@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r14)
	movq	_verbose@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_isl6423_release,4,2            ## @isl6423_release
	.comm	_isl6423_set_voltage,4,2        ## @isl6423_set_voltage
	.comm	_isl6423_voltage_boost,4,2      ## @isl6423_voltage_boost
	.comm	_verbose,4,2                    ## @verbose
.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_attach
lCPI0_0:
	.long	64                              ; 0x40
	.long	96                              ; 0x60
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_isl6423_attach
	.p2align	2
_isl6423_attach:                        ; @isl6423_attach
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #32
	bl	_kzalloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x20, x0
	stp	x21, x22, [x0, #16]
	str	x0, [x19]
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x0]
	mov	x0, x19
	bl	_isl6423_set_current
	cbnz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_isl6423_set_modulation
	cbz	x0, LBB0_6
LBB0_3:
	mov	x0, x20
	bl	_kfree
	str	xzr, [x19]
LBB0_4:
	mov	x19, #0
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh5:
	adrp	x8, _isl6423_release@GOTPAGE
Lloh6:
	ldr	x8, [x8, _isl6423_release@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [x19, #16]
Lloh8:
	adrp	x8, _isl6423_set_voltage@GOTPAGE
Lloh9:
	ldr	x8, [x8, _isl6423_set_voltage@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _isl6423_voltage_boost@GOTPAGE
Lloh12:
	ldr	x9, [x9, _isl6423_voltage_boost@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #8]
Lloh14:
	adrp	x8, _verbose@GOTPAGE
Lloh15:
	ldr	x8, [x8, _verbose@GOTPAGEOFF]
Lloh16:
	ldr	w8, [x8]
	str	w8, [x20, #8]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_isl6423_release,4,2            ; @isl6423_release
	.comm	_isl6423_set_voltage,4,2        ; @isl6423_set_voltage
	.comm	_isl6423_voltage_boost,4,2      ; @isl6423_voltage_boost
	.comm	_verbose,4,2                    ; @verbose
.subsections_via_symbols
