	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function eagle_muxsel
_eagle_muxsel:                          ## @eagle_muxsel
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	andl	$3, %esi
	movl	$3, %edi
	callq	_gpio_bits
	movq	_BT848_ADC_C_SLEEP@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_BT848_ADC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_btor
	movq	_BT848_CONTROL_COMP@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	notl	%edi
	movq	_BT848_E_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_btand
	movl	(%rbx), %edi
	notl	%edi
	movq	_BT848_O_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_btand
	movq	_LM1882_SYNC_DRIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_gpio_bits                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BT848_ADC_C_SLEEP,4,2          ## @BT848_ADC_C_SLEEP
	.comm	_BT848_ADC,4,2                  ## @BT848_ADC
	.comm	_BT848_CONTROL_COMP,4,2         ## @BT848_CONTROL_COMP
	.comm	_BT848_E_CONTROL,4,2            ## @BT848_E_CONTROL
	.comm	_BT848_O_CONTROL,4,2            ## @BT848_O_CONTROL
	.comm	_LM1882_SYNC_DRIVE,4,2          ## @LM1882_SYNC_DRIVE
	.no_dead_strip	_eagle_muxsel
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function eagle_muxsel
_eagle_muxsel:                          ; @eagle_muxsel
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	and	w1, w1, #0x3
	mov	w0, #3
	bl	_gpio_bits
Lloh0:
	adrp	x8, _BT848_ADC_C_SLEEP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BT848_ADC_C_SLEEP@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _BT848_ADC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _BT848_ADC@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_btor
Lloh6:
	adrp	x19, _BT848_CONTROL_COMP@GOTPAGE
Lloh7:
	ldr	x19, [x19, _BT848_CONTROL_COMP@GOTPAGEOFF]
	ldr	w8, [x19]
	mvn	w0, w8
Lloh8:
	adrp	x8, _BT848_E_CONTROL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _BT848_E_CONTROL@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	bl	_btand
	ldr	w8, [x19]
	mvn	w0, w8
Lloh11:
	adrp	x8, _BT848_O_CONTROL@GOTPAGE
Lloh12:
	ldr	x8, [x8, _BT848_O_CONTROL@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_btand
Lloh14:
	adrp	x8, _LM1882_SYNC_DRIVE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _LM1882_SYNC_DRIVE@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	mov	x1, x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_gpio_bits
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_BT848_ADC_C_SLEEP,4,2          ; @BT848_ADC_C_SLEEP
	.comm	_BT848_ADC,4,2                  ; @BT848_ADC
	.comm	_BT848_CONTROL_COMP,4,2         ; @BT848_CONTROL_COMP
	.comm	_BT848_E_CONTROL,4,2            ; @BT848_E_CONTROL
	.comm	_BT848_O_CONTROL,4,2            ; @BT848_O_CONTROL
	.comm	_LM1882_SYNC_DRIVE,4,2          ; @LM1882_SYNC_DRIVE
	.no_dead_strip	_eagle_muxsel
.subsections_via_symbols
