	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function falcon_mux_apply
_falcon_mux_apply:                      ## @falcon_mux_apply
	.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
	movl	%edx, %r14d
	movl	%esi, %ebx
	callq	_pinctrl_dev_get_drvdata
	movq	%rax, %r12
	movq	(%rax), %rax
	movslq	%ebx, %rbx
	movl	(%rax,%rbx,4), %edi
	callq	_PORT
	movq	_PORTS@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_2
## %bb.1:
	movq	8(%r12), %rcx
	cltq
	movl	(%rcx,%rax,4), %r15d
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.3:
	movq	(%r12), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_PORT_PIN
	movl	%eax, %edi
	callq	_LTQ_PADC_MUX
	movl	%r15d, %edi
	movl	%r14d, %esi
	movl	%eax, %edx
	callq	_pad_w32
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_2:
	movq	_ENODEV@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_4:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PORTS,4,2                      ## @PORTS
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_falcon_mux_apply
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function falcon_mux_apply
_falcon_mux_apply:                      ; @falcon_mux_apply
	.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	x19, x2
	mov	x20, x1
	bl	_pinctrl_dev_get_drvdata
	mov	x21, x0
	ldr	x8, [x0]
	ldr	w0, [x8, w20, sxtw #2]
	bl	_PORT
Lloh0:
	adrp	x8, _PORTS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PORTS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ge	LBB0_3
; %bb.1:
	ldr	x8, [x21, #8]
	ldr	w22, [x8, w0, sxtw #2]
	cbz	w22, LBB0_3
; %bb.2:
	sxtw	x8, w20
	ldr	x9, [x21]
	ldr	w0, [x9, x8, lsl #2]
	bl	_PORT_PIN
	bl	_LTQ_PADC_MUX
	mov	x2, x0
	mov	x0, x22
	mov	x1, x19
	bl	_pad_w32
	mov	w0, #0
	b	LBB0_4
LBB0_3:
Lloh3:
	adrp	x8, _ENODEV@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PORTS,4,2                      ; @PORTS
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_falcon_mux_apply
.subsections_via_symbols
