	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isl6421_set_voltage
_isl6421_set_voltage:                   ## @isl6421_set_voltage
	.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
	subq	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rdi), %rbx
	movq	%rbx, -96(%rbp)
	movq	$1, -88(%rbp)
	movl	24(%rbx), %eax
	movl	%eax, -80(%rbp)
	leaq	-100(%rbp), %rcx
	movq	%rcx, -72(%rbp)
	movl	$1, -64(%rbp)
	movq	_I2C_M_RD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, -60(%rbp)
	movl	%eax, -56(%rbp)
	movq	_ISL6421_VSEL1@GOTPCREL(%rip), %rcx
	movq	_ISL6421_EN1@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	orl	(%rcx), %eax
	notl	%eax
	andl	(%rbx), %eax
	movl	%eax, (%rbx)
	cmpl	$130, %esi
	je	LBB0_5
## %bb.1:
	cmpl	$129, %esi
	je	LBB0_4
## %bb.2:
	cmpl	$128, %esi
	jne	LBB0_24
## %bb.3:
	leaq	4(%rbx), %r13
	movb	$1, %r12b
	movl	$1, %r14d
	jmp	LBB0_9
LBB0_5:
	movl	(%r15), %ecx
	jmp	LBB0_6
LBB0_4:
	movl	(%rcx), %ecx
	orl	(%r15), %ecx
LBB0_6:
	orl	%ecx, %eax
	movl	%eax, (%rbx)
	leaq	4(%rbx), %r13
	cmpl	$0, 4(%rbx)
	je	LBB0_8
## %bb.7:
	movq	_ISL6421_DCL@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
LBB0_8:
	xorl	%r14d, %r14d
	xorl	%r12d, %r12d
LBB0_9:
	orl	8(%rbx), %eax
	andl	12(%rbx), %eax
	movl	%eax, (%rbx)
	movq	16(%rbx), %rdi
	leaq	-96(%rbp), %rsi
	movl	$2, %edx
	callq	_i2c_transfer
	testl	%eax, %eax
	js	LBB0_26
## %bb.10:
	cmpl	$2, %eax
	jne	LBB0_11
## %bb.12:
	movl	%r14d, (%r13)
	testb	%r12b, %r12b
	jne	LBB0_15
## %bb.13:
	movq	_ISL6421_OLF1@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -100(%rbp)
	je	LBB0_15
## %bb.14:
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_msleep
LBB0_15:
	movl	(%rbx), %eax
	movq	_ISL6421_DCL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%eax, %ecx
	je	LBB0_19
## %bb.16:
	testl	%ecx, 8(%rbx)
	je	LBB0_17
LBB0_19:
	xorl	%eax, %eax
	testb	%r12b, %r12b
	jne	LBB0_26
## %bb.20:
	movq	_ISL6421_OLF1@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, -100(%rbp)
	je	LBB0_26
## %bb.21:
	movl	(%r15), %eax
	movq	_ISL6421_VSEL1@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	notl	%eax
	andl	%eax, (%rbx)
	movq	16(%rbx), %rdi
	leaq	-96(%rbp), %rsi
	movl	$1, %edx
	callq	_i2c_transfer
	testl	%eax, %eax
	js	LBB0_26
## %bb.22:
	cmpl	$1, %eax
	jne	LBB0_11
## %bb.23:
	movl	$1, 4(%rbx)
	movq	16(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_dev_warn
LBB0_24:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	jmp	LBB0_25
LBB0_17:
	notl	%ecx
	andl	%ecx, %eax
	movl	%eax, (%rbx)
	movq	16(%rbx), %rdi
	leaq	-96(%rbp), %rsi
	movl	$2, %edx
	callq	_i2c_transfer
	testl	%eax, %eax
	js	LBB0_26
## %bb.18:
	cmpl	$2, %eax
	je	LBB0_19
LBB0_11:
	movq	_EIO@GOTPCREL(%rip), %rcx
LBB0_25:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_26:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_28
## %bb.27:
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_I2C_M_RD,4,2                   ## @I2C_M_RD
	.comm	_ISL6421_VSEL1,4,2              ## @ISL6421_VSEL1
	.comm	_ISL6421_EN1,4,2                ## @ISL6421_EN1
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ISL6421_DCL,4,2                ## @ISL6421_DCL
	.comm	_EIO,4,2                        ## @EIO
	.comm	_ISL6421_OLF1,4,2               ## @ISL6421_OLF1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Overload current detected. disabling LNBf power\n"

	.no_dead_strip	_isl6421_set_voltage
.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 isl6421_set_voltage
lCPI0_0:
	.long	1                               ; 0x1
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_isl6421_set_voltage:                   ; @isl6421_set_voltage
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #56]
	ldr	x19, [x0]
	str	x19, [sp, #8]
Lloh3:
	adrp	x8, lCPI0_0@PAGE
Lloh4:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [sp, #16]
	ldr	w8, [x19, #24]
	str	w8, [sp, #24]
	add	x9, sp, #4
	str	x9, [sp, #32]
	mov	w9, #1
Lloh5:
	adrp	x10, _I2C_M_RD@GOTPAGE
Lloh6:
	ldr	x10, [x10, _I2C_M_RD@GOTPAGEOFF]
Lloh7:
	ldr	w10, [x10]
	stp	w9, w10, [sp, #40]
	str	w8, [sp, #48]
Lloh8:
	adrp	x20, _ISL6421_VSEL1@GOTPAGE
Lloh9:
	ldr	x20, [x20, _ISL6421_VSEL1@GOTPAGEOFF]
	ldr	w8, [x20]
Lloh10:
	adrp	x21, _ISL6421_EN1@GOTPAGE
Lloh11:
	ldr	x21, [x21, _ISL6421_EN1@GOTPAGEOFF]
	ldr	w9, [x21]
	orr	w8, w9, w8
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
	cmp	w1, #130
	b.eq	LBB0_4
; %bb.1:
	cmp	w1, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w1, #128
	b.ne	LBB0_21
; %bb.3:
	add	x23, x19, #4
	mov	w22, #1
	b	LBB0_9
LBB0_4:
	ldr	w9, [x21]
	b	LBB0_6
LBB0_5:
	ldr	w9, [x21]
	ldr	w10, [x20]
	orr	w9, w10, w9
LBB0_6:
	orr	w8, w9, w8
	str	w8, [x19]
	mov	x23, x19
	ldr	w9, [x23, #4]!
	cbz	w9, LBB0_8
; %bb.7:
	mov	w22, #0
Lloh12:
	adrp	x9, _ISL6421_DCL@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ISL6421_DCL@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	orr	w8, w8, w9
	b	LBB0_9
LBB0_8:
	mov	w22, #0
LBB0_9:
	ldp	w9, w10, [x19, #8]
	orr	w8, w8, w9
	and	w8, w10, w8
	str	w8, [x19]
	ldr	x0, [x19, #16]
	add	x1, sp, #8
	mov	w2, #2
	bl	_i2c_transfer
	tbnz	w0, #31, LBB0_27
; %bb.10:
	cmp	w0, #2
	b.ne	LBB0_25
; %bb.11:
	str	w22, [x23]
	tbnz	w22, #0, LBB0_14
; %bb.12:
	ldr	w8, [sp, #4]
Lloh15:
	adrp	x9, _ISL6421_OLF1@GOTPAGE
Lloh16:
	ldr	x9, [x9, _ISL6421_OLF1@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:
	mov	w0, #1000
	bl	_msleep
LBB0_14:
	ldr	w8, [x19]
Lloh18:
	adrp	x9, _ISL6421_DCL@GOTPAGE
Lloh19:
	ldr	x9, [x9, _ISL6421_DCL@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.15:
	ldr	w10, [x19, #8]
	tst	w10, w9
	b.eq	LBB0_23
LBB0_16:
	tbnz	w22, #0, LBB0_22
; %bb.17:
	ldr	w8, [sp, #4]
Lloh21:
	adrp	x9, _ISL6421_OLF1@GOTPAGE
Lloh22:
	ldr	x9, [x9, _ISL6421_OLF1@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_22
; %bb.18:
	ldr	w8, [x20]
	ldr	w9, [x21]
	orr	w8, w9, w8
	ldr	w9, [x19]
	bic	w8, w9, w8
	str	w8, [x19]
	ldr	x0, [x19, #16]
	add	x1, sp, #8
	mov	w2, #1
	bl	_i2c_transfer
	tbnz	w0, #31, LBB0_27
; %bb.19:
	cmp	w0, #1
	b.ne	LBB0_25
; %bb.20:
	mov	w8, #1
	str	w8, [x19, #4]
	ldr	x0, [x19, #16]
Lloh24:
	adrp	x1, l_.str@PAGE
Lloh25:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_warn
LBB0_21:
Lloh26:
	adrp	x8, _EINVAL@GOTPAGE
Lloh27:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_26
LBB0_22:
	mov	w0, #0
	b	LBB0_27
LBB0_23:
	bic	w8, w8, w9
	str	w8, [x19]
	ldr	x0, [x19, #16]
	add	x1, sp, #8
	mov	w2, #2
	bl	_i2c_transfer
	tbnz	w0, #31, LBB0_27
; %bb.24:
	cmp	w0, #2
	b.eq	LBB0_16
LBB0_25:
Lloh28:
	adrp	x8, _EIO@GOTPAGE
Lloh29:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_26:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_27:
	ldr	x8, [sp, #56]
Lloh30:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh31:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_29
; %bb.28:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_29:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdr	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_I2C_M_RD,4,2                   ; @I2C_M_RD
	.comm	_ISL6421_VSEL1,4,2              ; @ISL6421_VSEL1
	.comm	_ISL6421_EN1,4,2                ; @ISL6421_EN1
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ISL6421_DCL,4,2                ; @ISL6421_DCL
	.comm	_EIO,4,2                        ; @EIO
	.comm	_ISL6421_OLF1,4,2               ; @ISL6421_OLF1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Overload current detected. disabling LNBf power\n"

	.no_dead_strip	_isl6421_set_voltage
.subsections_via_symbols
