	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function oxnas_ox810se_gpio_request_enable
_oxnas_ox810se_gpio_request_enable:     ## @oxnas_ox810se_gpio_request_enable
	.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, %r12d
	movq	%rsi, %rbx
	callq	_pinctrl_dev_get_drvdata
	movq	%rax, %r15
	movl	(%rbx), %edi
	callq	_gpiochip_get_data
	movq	%rax, %rbx
	movl	%r12d, %edi
	subq	8(%rax), %rdi
	callq	_BIT
	movl	%eax, %r14d
	movl	4(%r15), %edi
	movq	(%rbx), %r8
	movq	8(%rbx), %rcx
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edx
	movl	%eax, %r9d
	callq	_dev_dbg
	movl	(%r15), %edi
	cmpq	$0, (%rbx)
	jne	LBB0_1
## %bb.2:
	movq	_PINMUX_810_PRIMARY_SEL0@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_PINMUX_810_PRIMARY_SEL1@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %esi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_regmap_write_bits
	movl	(%r15), %edi
	cmpq	$0, (%rbx)
	jne	LBB0_4
## %bb.5:
	movq	_PINMUX_810_SECONDARY_SEL0@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_PINMUX_810_SECONDARY_SEL1@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %esi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_regmap_write_bits
	movl	(%r15), %edi
	cmpq	$0, (%rbx)
	jne	LBB0_7
## %bb.8:
	movq	_PINMUX_810_TERTIARY_SEL0@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_PINMUX_810_TERTIARY_SEL1@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %esi
	movl	%r14d, %edx
	xorl	%ecx, %ecx
	callq	_regmap_write_bits
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"requesting gpio %d in bank %d (id %d) with mask 0x%x\n"

	.comm	_PINMUX_810_PRIMARY_SEL1,4,2    ## @PINMUX_810_PRIMARY_SEL1
	.comm	_PINMUX_810_PRIMARY_SEL0,4,2    ## @PINMUX_810_PRIMARY_SEL0
	.comm	_PINMUX_810_SECONDARY_SEL1,4,2  ## @PINMUX_810_SECONDARY_SEL1
	.comm	_PINMUX_810_SECONDARY_SEL0,4,2  ## @PINMUX_810_SECONDARY_SEL0
	.comm	_PINMUX_810_TERTIARY_SEL1,4,2   ## @PINMUX_810_TERTIARY_SEL1
	.comm	_PINMUX_810_TERTIARY_SEL0,4,2   ## @PINMUX_810_TERTIARY_SEL0
	.no_dead_strip	_oxnas_ox810se_gpio_request_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function oxnas_ox810se_gpio_request_enable
_oxnas_ox810se_gpio_request_enable:     ; @oxnas_ox810se_gpio_request_enable
	.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	w0, [x20]
	bl	_gpiochip_get_data
	mov	x20, x0
	mov	w8, w19
	ldr	x9, [x0, #8]
	sub	x0, x8, x9
	bl	_BIT
	mov	x22, x0
	ldr	w0, [x21, #4]
	ldp	x4, x3, [x20]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x19
	mov	x5, x22
	bl	_dev_dbg
	ldr	w0, [x21]
Lloh2:
	adrp	x8, _PINMUX_810_PRIMARY_SEL1@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PINMUX_810_PRIMARY_SEL1@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh4:
	adrp	x10, _PINMUX_810_PRIMARY_SEL0@GOTPAGE
Lloh5:
	ldr	x10, [x10, _PINMUX_810_PRIMARY_SEL0@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	w1, [x8]
	mov	x2, x22
	mov	w3, #0
	bl	_regmap_write_bits
	ldr	w0, [x21]
Lloh6:
	adrp	x8, _PINMUX_810_SECONDARY_SEL1@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PINMUX_810_SECONDARY_SEL1@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh8:
	adrp	x10, _PINMUX_810_SECONDARY_SEL0@GOTPAGE
Lloh9:
	ldr	x10, [x10, _PINMUX_810_SECONDARY_SEL0@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	w1, [x8]
	mov	x2, x22
	mov	w3, #0
	bl	_regmap_write_bits
	ldr	w0, [x21]
Lloh10:
	adrp	x8, _PINMUX_810_TERTIARY_SEL1@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PINMUX_810_TERTIARY_SEL1@GOTPAGEOFF]
	ldr	x9, [x20]
Lloh12:
	adrp	x10, _PINMUX_810_TERTIARY_SEL0@GOTPAGE
Lloh13:
	ldr	x10, [x10, _PINMUX_810_TERTIARY_SEL0@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	w1, [x8]
	mov	x2, x22
	mov	w3, #0
	bl	_regmap_write_bits
	mov	w0, #0
	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 AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"requesting gpio %d in bank %d (id %d) with mask 0x%x\n"

	.comm	_PINMUX_810_PRIMARY_SEL1,4,2    ; @PINMUX_810_PRIMARY_SEL1
	.comm	_PINMUX_810_PRIMARY_SEL0,4,2    ; @PINMUX_810_PRIMARY_SEL0
	.comm	_PINMUX_810_SECONDARY_SEL1,4,2  ; @PINMUX_810_SECONDARY_SEL1
	.comm	_PINMUX_810_SECONDARY_SEL0,4,2  ; @PINMUX_810_SECONDARY_SEL0
	.comm	_PINMUX_810_TERTIARY_SEL1,4,2   ; @PINMUX_810_TERTIARY_SEL1
	.comm	_PINMUX_810_TERTIARY_SEL0,4,2   ; @PINMUX_810_TERTIARY_SEL0
	.no_dead_strip	_oxnas_ox810se_gpio_request_enable
.subsections_via_symbols
