	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dm1105_set_voltage
_dm1105_set_voltage:                    ## @dm1105_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	callq	_frontend_to_dm1105_dev
	movl	(%rax), %r13d
	cmpl	$130, %r13d
	movq	_DM1105_LNB_OFF@GOTPCREL(%rip), %rax
	cmoveq	_DM05_LNB_OFF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movq	_DM05_LNB_18V@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_DM1105_LNB_18V@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	_DM1105_LNB_13V@GOTPCREL(%rip), %rax
	cmoveq	_DM05_LNB_13V@GOTPCREL(%rip), %rax
	movq	_DM1105_LNB_MASK@GOTPCREL(%rip), %rcx
	cmoveq	_DM05_LNB_MASK@GOTPCREL(%rip), %rcx
	movl	(%rax), %r12d
	movl	(%rcx), %esi
	movq	_DM1105_GPIOCTR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_dm_writel
	movq	_SEC_VOLTAGE_18@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_2
## %bb.1:
	cmpl	$130, %r13d
	cmovel	%r14d, %ebx
	movq	_DM1105_GPIOVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%ebx, %esi
	jmp	LBB0_5
LBB0_2:
	movq	_SEC_VOLTAGE_13@GOTPCREL(%rip), %rax
	movq	_DM1105_GPIOVAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	cmpq	%r15, (%rax)
	jne	LBB0_4
## %bb.3:
	movl	%r12d, %esi
	jmp	LBB0_5
LBB0_4:
	movl	-44(%rbp), %esi                 ## 4-byte Reload
LBB0_5:
	callq	_dm_writel
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DM05_LNB_MASK,4,2              ## @DM05_LNB_MASK
	.comm	_DM05_LNB_OFF,4,2               ## @DM05_LNB_OFF
	.comm	_DM05_LNB_13V,4,2               ## @DM05_LNB_13V
	.comm	_DM05_LNB_18V,4,2               ## @DM05_LNB_18V
	.comm	_DM1105_LNB_MASK,4,2            ## @DM1105_LNB_MASK
	.comm	_DM1105_LNB_OFF,4,2             ## @DM1105_LNB_OFF
	.comm	_DM1105_LNB_13V,4,2             ## @DM1105_LNB_13V
	.comm	_DM1105_LNB_18V,4,2             ## @DM1105_LNB_18V
	.comm	_DM1105_GPIOCTR,4,2             ## @DM1105_GPIOCTR
	.comm	_SEC_VOLTAGE_18,8,3             ## @SEC_VOLTAGE_18
	.comm	_DM1105_GPIOVAL,4,2             ## @DM1105_GPIOVAL
	.comm	_SEC_VOLTAGE_13,8,3             ## @SEC_VOLTAGE_13
	.no_dead_strip	_dm1105_set_voltage
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dm1105_set_voltage
_dm1105_set_voltage:                    ; @dm1105_set_voltage
	.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	x19, x1
	bl	_frontend_to_dm1105_dev
	ldr	w22, [x0]
Lloh0:
	adrp	x8, _DM05_LNB_OFF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DM05_LNB_OFF@GOTPAGEOFF]
Lloh2:
	adrp	x9, _DM1105_LNB_OFF@GOTPAGE
Lloh3:
	ldr	x9, [x9, _DM1105_LNB_OFF@GOTPAGEOFF]
	cmp	w22, #130
	csel	x8, x8, x9, eq
	ldr	w20, [x8]
Lloh4:
	adrp	x8, _DM05_LNB_18V@GOTPAGE
Lloh5:
	ldr	x8, [x8, _DM05_LNB_18V@GOTPAGEOFF]
Lloh6:
	ldr	w23, [x8]
Lloh7:
	adrp	x8, _DM1105_LNB_18V@GOTPAGE
Lloh8:
	ldr	x8, [x8, _DM1105_LNB_18V@GOTPAGEOFF]
Lloh9:
	adrp	x9, _DM05_LNB_13V@GOTPAGE
Lloh10:
	ldr	x9, [x9, _DM05_LNB_13V@GOTPAGEOFF]
Lloh11:
	adrp	x10, _DM1105_LNB_13V@GOTPAGE
Lloh12:
	ldr	x10, [x10, _DM1105_LNB_13V@GOTPAGEOFF]
Lloh13:
	ldr	w24, [x8]
	csel	x8, x9, x10, eq
Lloh14:
	adrp	x9, _DM05_LNB_MASK@GOTPAGE
Lloh15:
	ldr	x9, [x9, _DM05_LNB_MASK@GOTPAGEOFF]
Lloh16:
	adrp	x10, _DM1105_LNB_MASK@GOTPAGE
Lloh17:
	ldr	x10, [x10, _DM1105_LNB_MASK@GOTPAGEOFF]
	ldr	w21, [x8]
	csel	x8, x9, x10, eq
	ldr	w1, [x8]
Lloh18:
	adrp	x8, _DM1105_GPIOCTR@GOTPAGE
Lloh19:
	ldr	x8, [x8, _DM1105_GPIOCTR@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	bl	_dm_writel
Lloh21:
	adrp	x8, _SEC_VOLTAGE_18@GOTPAGE
Lloh22:
	ldr	x8, [x8, _SEC_VOLTAGE_18@GOTPAGEOFF]
Lloh23:
	ldr	x8, [x8]
	cmp	x8, x19
	b.ne	LBB0_2
; %bb.1:
	cmp	w22, #130
	csel	w1, w23, w24, eq
Lloh24:
	adrp	x8, _DM1105_GPIOVAL@GOTPAGE
Lloh25:
	ldr	x8, [x8, _DM1105_GPIOVAL@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	b	LBB0_5
LBB0_2:
Lloh27:
	adrp	x8, _SEC_VOLTAGE_13@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SEC_VOLTAGE_13@GOTPAGEOFF]
Lloh29:
	ldr	x8, [x8]
Lloh30:
	adrp	x9, _DM1105_GPIOVAL@GOTPAGE
Lloh31:
	ldr	x9, [x9, _DM1105_GPIOVAL@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x9]
	cmp	x8, x19
	b.ne	LBB0_4
; %bb.3:
	mov	x1, x21
	b	LBB0_5
LBB0_4:
	mov	x1, x20
LBB0_5:
	bl	_dm_writel
	mov	w0, #0
	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	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh13
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.cfi_endproc
                                        ; -- End function
	.comm	_DM05_LNB_MASK,4,2              ; @DM05_LNB_MASK
	.comm	_DM05_LNB_OFF,4,2               ; @DM05_LNB_OFF
	.comm	_DM05_LNB_13V,4,2               ; @DM05_LNB_13V
	.comm	_DM05_LNB_18V,4,2               ; @DM05_LNB_18V
	.comm	_DM1105_LNB_MASK,4,2            ; @DM1105_LNB_MASK
	.comm	_DM1105_LNB_OFF,4,2             ; @DM1105_LNB_OFF
	.comm	_DM1105_LNB_13V,4,2             ; @DM1105_LNB_13V
	.comm	_DM1105_LNB_18V,4,2             ; @DM1105_LNB_18V
	.comm	_DM1105_GPIOCTR,4,2             ; @DM1105_GPIOCTR
	.comm	_SEC_VOLTAGE_18,8,3             ; @SEC_VOLTAGE_18
	.comm	_DM1105_GPIOVAL,4,2             ; @DM1105_GPIOVAL
	.comm	_SEC_VOLTAGE_13,8,3             ; @SEC_VOLTAGE_13
	.no_dead_strip	_dm1105_set_voltage
.subsections_via_symbols
