	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function oxnas_ox810se_pinconf_get
_oxnas_ox810se_pinconf_get:             ## @oxnas_ox810se_pinconf_get
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movl	%esi, %r15d
	callq	_pinctrl_dev_get_drvdata
	movq	%rax, %r12
	movq	%rax, %rdi
	movl	%r15d, %esi
	callq	_pctl_to_bank
	movq	%rax, %r13
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rdi
	callq	_pinconf_to_config_param
	movl	%eax, %r14d
	movl	%r15d, %edi
	subq	8(%r13), %rdi
	callq	_BIT
	cmpl	$128, %r14d
	jne	LBB0_6
## %bb.1:
	movl	%eax, %r15d
	movl	(%r12), %edi
	cmpl	$0, (%r13)
	jne	LBB0_2
## %bb.3:
	movq	_PINMUX_810_PULLUP_CTRL0@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_6:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_7
LBB0_2:
	movq	_PINMUX_810_PULLUP_CTRL1@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
	leaq	-44(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	xorl	%esi, %esi
	andl	-44(%rbp), %r15d
	setne	%sil
	movl	%esi, -44(%rbp)
	movl	$128, %edi
	callq	_pinconf_to_config_packed
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	xorl	%eax, %eax
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PINMUX_810_PULLUP_CTRL1,4,2    ## @PINMUX_810_PULLUP_CTRL1
	.comm	_PINMUX_810_PULLUP_CTRL0,4,2    ## @PINMUX_810_PULLUP_CTRL0
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.no_dead_strip	_oxnas_ox810se_pinconf_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function oxnas_ox810se_pinconf_get
_oxnas_ox810se_pinconf_get:             ; @oxnas_ox810se_pinconf_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x2
	mov	x21, x1
	bl	_pinctrl_dev_get_drvdata
	mov	x20, x0
	mov	x1, x21
	bl	_pctl_to_bank
	mov	x22, x0
	ldr	x0, [x19]
	bl	_pinconf_to_config_param
	mov	x23, x0
	mov	w8, w21
	ldr	x9, [x22, #8]
	sub	x0, x8, x9
	bl	_BIT
	cmp	w23, #128
	b.ne	LBB0_3
; %bb.1:
	mov	x21, x0
	ldr	w0, [x20]
Lloh0:
	adrp	x8, _PINMUX_810_PULLUP_CTRL1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PINMUX_810_PULLUP_CTRL1@GOTPAGEOFF]
	ldr	w9, [x22]
Lloh2:
	adrp	x10, _PINMUX_810_PULLUP_CTRL0@GOTPAGE
Lloh3:
	ldr	x10, [x10, _PINMUX_810_PULLUP_CTRL0@GOTPAGEOFF]
	cmp	w9, #0
	csel	x8, x10, x8, eq
	ldr	w1, [x8]
	add	x2, sp, #12
	bl	_regmap_read
	cbnz	w0, LBB0_4
; %bb.2:
	ldr	w8, [sp, #12]
	tst	w8, w21
	cset	w1, ne
	str	w1, [sp, #12]
	mov	w0, #128
	bl	_pinconf_to_config_packed
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19]
	b	LBB0_4
LBB0_3:
Lloh4:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh5:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_PINMUX_810_PULLUP_CTRL1,4,2    ; @PINMUX_810_PULLUP_CTRL1
	.comm	_PINMUX_810_PULLUP_CTRL0,4,2    ; @PINMUX_810_PULLUP_CTRL0
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.no_dead_strip	_oxnas_ox810se_pinconf_get
.subsections_via_symbols
