	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isl6405_attach                 ## -- Begin function isl6405_attach
	.p2align	4, 0x90
_isl6405_attach:                        ## @isl6405_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r8d, %r15d
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	testb	$-128, %r12b
	jne	LBB0_3
## %bb.4:
	movq	_ISL6405_ISEL1@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	xorl	%r14d, %r14d
	jmp	LBB0_8
LBB0_3:
	movq	_ISL6405_ISEL2@GOTPCREL(%rip), %rax
LBB0_5:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rax), %eax
	movl	%eax, 24(%rbx)
	movq	%rcx, 16(%rbx)
	movl	%r13d, (%rbx)
	movq	%rbx, 24(%r14)
	movl	%r12d, 4(%rbx)
	notl	%r15d
	movl	%r15d, 8(%rbx)
	movq	_SEC_VOLTAGE_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_isl6405_set_voltage
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_kfree
	movq	$0, 24(%r14)
	xorl	%r14d, %r14d
	jmp	LBB0_8
LBB0_7:
	movq	_isl6405_release@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movq	_isl6405_set_voltage@GOTPCREL(%rip), %rax
	movq	%rax, 8(%r14)
	movq	_isl6405_enable_high_lnb_voltage@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_8:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ISL6405_ISEL2,4,2              ## @ISL6405_ISEL2
	.comm	_ISL6405_ISEL1,4,2              ## @ISL6405_ISEL1
	.comm	_SEC_VOLTAGE_OFF,4,2            ## @SEC_VOLTAGE_OFF
	.comm	_isl6405_release,4,2            ## @isl6405_release
	.comm	_isl6405_enable_high_lnb_voltage,4,2 ## @isl6405_enable_high_lnb_voltage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_isl6405_attach                 ; -- Begin function isl6405_attach
	.p2align	2
_isl6405_attach:                        ; @isl6405_attach
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, 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	_kmalloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
Lloh3:
	adrp	x8, _ISL6405_ISEL1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ISL6405_ISEL1@GOTPAGEOFF]
Lloh5:
	adrp	x9, _ISL6405_ISEL2@GOTPAGE
Lloh6:
	ldr	x9, [x9, _ISL6405_ISEL2@GOTPAGEOFF]
	tst	w22, #0x80
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	str	w8, [x0, #24]
	str	x24, [x0, #16]
	str	x0, [x19, #24]
	stp	w23, w22, [x0]
	mvn	w8, w21
	str	w8, [x0, #8]
Lloh7:
	adrp	x8, _SEC_VOLTAGE_OFF@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SEC_VOLTAGE_OFF@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_isl6405_set_voltage
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_kfree
	str	xzr, [x19, #24]
LBB0_3:
	mov	x19, #0
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x8, _isl6405_release@GOTPAGE
Lloh11:
	ldr	x8, [x8, _isl6405_release@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
Lloh13:
	adrp	x9, _isl6405_set_voltage@GOTPAGE
Lloh14:
	ldr	x9, [x9, _isl6405_set_voltage@GOTPAGEOFF]
	str	w8, [x19, #16]
	str	x9, [x19, #8]
Lloh15:
	adrp	x8, _isl6405_enable_high_lnb_voltage@GOTPAGE
Lloh16:
	ldr	x8, [x8, _isl6405_enable_high_lnb_voltage@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ISL6405_ISEL2,4,2              ; @ISL6405_ISEL2
	.comm	_ISL6405_ISEL1,4,2              ; @ISL6405_ISEL1
	.comm	_SEC_VOLTAGE_OFF,4,2            ; @SEC_VOLTAGE_OFF
	.comm	_isl6405_release,4,2            ; @isl6405_release
	.comm	_isl6405_enable_high_lnb_voltage,4,2 ; @isl6405_enable_high_lnb_voltage
.subsections_via_symbols
