	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function oxnas_ox810se_pinconf_set
_oxnas_ox810se_pinconf_set:             ## @oxnas_ox810se_pinconf_set
	.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
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, -64(%rbp)                 ## 8-byte Spill
	movl	%esi, %r15d
	callq	_pinctrl_dev_get_drvdata
	movq	%rax, %r12
	movq	%rax, %rdi
	movl	%r15d, %esi
	callq	_pctl_to_bank
	movq	%rax, %r14
	movl	%r15d, %edi
	subq	8(%rax), %rdi
	callq	_BIT
	movq	%rax, %rbx
	movl	(%r12), %edi
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	movq	8(%r14), %rcx
	leaq	L_.str(%rip), %rsi
	xorl	%r13d, %r13d
	movl	%r15d, %edx
	movq	%rax, %r8
	xorl	%eax, %eax
	callq	_dev_dbg
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	je	LBB0_7
## %bb.1:
	movl	%eax, %r14d
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	4(%r12), %edi
	movl	(%rax), %esi
	movq	%rbx, %rdx
	movq	%rbx, %rcx
	callq	_regmap_write_bits
	incq	%r15
	cmpq	%r15, %r14
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax,%r15,8), %rdi
	callq	_pinconf_to_config_param
	movl	(%r12), %edi
	cmpl	$128, %eax
	jne	LBB0_6
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	movq	_PINMUX_810_PULLUP_CTRL1@GOTPCREL(%rip), %rax
	jne	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_PINMUX_810_PULLUP_CTRL0@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_6:
	leaq	L_.str.2(%rip), %rsi
	movl	%eax, %edx
	callq	_dev_err
	movq	_ENOTSUPP@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	subl	(%rax), %r13d
LBB0_7:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"setting pin %d bank %d mask 0x%x\n"

L_.str.1:                               ## @.str.1
	.asciz	"   pullup\n"

	.comm	_PINMUX_810_PULLUP_CTRL1,4,2    ## @PINMUX_810_PULLUP_CTRL1
	.comm	_PINMUX_810_PULLUP_CTRL0,4,2    ## @PINMUX_810_PULLUP_CTRL0
L_.str.2:                               ## @.str.2
	.asciz	"Property %u not supported\n"

	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.no_dead_strip	_oxnas_ox810se_pinconf_set
.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_set
_oxnas_ox810se_pinconf_set:             ; @oxnas_ox810se_pinconf_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x3
	mov	x19, x2
	mov	x24, x1
	bl	_pinctrl_dev_get_drvdata
	mov	x20, x0
	mov	x1, x24
	bl	_pctl_to_bank
	mov	x21, x0
	mov	w8, w24
	ldr	x9, [x0, #8]
	sub	x0, x8, x9
	bl	_BIT
	mov	x22, x0
	ldr	w0, [x20]
	ldr	x8, [x21, #8]
	stp	x8, x22, [sp, #8]
	str	x24, [sp]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_dev_dbg
	cbz	w23, LBB0_4
; %bb.1:
	mov	w24, w23
Lloh2:
	adrp	x25, _PINMUX_810_PULLUP_CTRL1@GOTPAGE
Lloh3:
	ldr	x25, [x25, _PINMUX_810_PULLUP_CTRL1@GOTPAGEOFF]
Lloh4:
	adrp	x26, _PINMUX_810_PULLUP_CTRL0@GOTPAGE
Lloh5:
	ldr	x26, [x26, _PINMUX_810_PULLUP_CTRL0@GOTPAGEOFF]
Lloh6:
	adrp	x23, l_.str.1@PAGE
Lloh7:
	add	x23, x23, l_.str.1@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19]
	bl	_pinconf_to_config_param
	mov	x2, x0
	ldr	w0, [x20]
	cmp	w2, #128
	b.ne	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	mov	x1, x23
	bl	_dev_dbg
	ldr	w0, [x20, #4]
	ldr	w8, [x21]
	cmp	w8, #0
	csel	x8, x26, x25, eq
	ldr	w1, [x8]
	mov	x2, x22
	mov	x3, x22
	bl	_regmap_write_bits
	add	x19, x19, #8
	subs	x24, x24, #1
	b.ne	LBB0_2
LBB0_4:
	mov	w0, #0
	b	LBB0_6
LBB0_5:
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_dev_err
Lloh10:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"setting pin %d bank %d mask 0x%x\n"

l_.str.1:                               ; @.str.1
	.asciz	"   pullup\n"

	.comm	_PINMUX_810_PULLUP_CTRL1,4,2    ; @PINMUX_810_PULLUP_CTRL1
	.comm	_PINMUX_810_PULLUP_CTRL0,4,2    ; @PINMUX_810_PULLUP_CTRL0
l_.str.2:                               ; @.str.2
	.asciz	"Property %u not supported\n"

	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.no_dead_strip	_oxnas_ox810se_pinconf_set
.subsections_via_symbols
