	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function npcm7xx_config_set_one
_npcm7xx_config_set_one:                ## @npcm7xx_config_set_one
	.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
	pushq	%rax
	.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, %r13d
	movq	%rdi, %r14
	movq	%rdx, %rdi
	callq	_pinconf_to_config_param
	movl	%eax, %r15d
	movq	%rbx, %rdi
	callq	_pinconf_to_config_argument
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movq	8(%r14), %r12
	movq	_NPCM7XX_GPIO_PER_BANK@GOTPCREL(%rip), %rcx
	movl	%r13d, %eax
	xorl	%edx, %edx
	divl	(%rcx)
	movl	%eax, %ebx
	shlq	$5, %rbx
	movl	%r13d, %eax
	xorl	%edx, %edx
	divl	8(%r12,%rbx)
	movl	%edx, %edi
	callq	_BIT
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	12(%r12,%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%r15d, %edx
	movl	%r13d, %ecx
	callq	_dev_dbg
	addl	$-128, %r15d
	cmpl	$9, %r15d
	ja	LBB0_3
## %bb.1:
	leaq	(%r12,%rbx), %rdx
	leaq	(%r12,%rbx), %rdi
	addq	$8, %rdi
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r15,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movl	(%r14), %esi
	movq	%rdx, %rdi
	movl	%r13d, %edx
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_npcm7xx_set_slew_rate          ## TAILCALL
LBB0_3:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
	jmp	LBB0_18
LBB0_4:
	movq	_NPCM7XX_GP_N_OES@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rdx), %rsi
	movq	%rdi, %r14
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_iowrite32
	xorl	%r15d, %r15d
	movl	%r13d, %eax
	xorl	%edx, %edx
	divl	(%r14)
	movq	%r14, %rdi
	movl	%edx, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	callq	*16(%r12,%rbx)
	jmp	LBB0_18
LBB0_5:
	movq	_NPCM7XX_GP_N_OEC@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rdx), %rsi
	movq	%rdi, %r14
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_iowrite32
	xorl	%r15d, %r15d
	movl	%r13d, %eax
	xorl	%edx, %edx
	divl	(%r14)
	movq	%r14, %rdi
	movl	%edx, %esi
	callq	*24(%r12,%rbx)
	jmp	LBB0_18
LBB0_6:
	movq	_NPCM7XX_GP_N_DBNC@GOTPCREL(%rip), %rax
	jmp	LBB0_10
LBB0_7:
	movq	%r14, %rdi
	movl	%r13d, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_npcm7xx_set_drive_strength     ## TAILCALL
LBB0_8:
	movq	_NPCM7XX_GP_N_OTYP@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rdx), %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	jmp	LBB0_13
LBB0_9:
	movq	_NPCM7XX_GP_N_OTYP@GOTPCREL(%rip), %rax
LBB0_10:
	movq	(%rax), %rsi
	addq	(%rdx), %rsi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	jmp	LBB0_16
LBB0_11:
	movq	_NPCM7XX_GP_N_PD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rdx), %rsi
	movq	%rdi, %r14
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movq	%rdx, %r15
	movl	%ebx, %edx
	callq	_npcm_gpio_clr
	movq	_NPCM7XX_GP_N_PU@GOTPCREL(%rip), %rax
	jmp	LBB0_15
LBB0_12:
	movq	_NPCM7XX_GP_N_PU@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rdx), %rsi
	movq	%rdi, %r14
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movq	%rdx, %r15
	movl	%ebx, %edx
	callq	_npcm_gpio_clr
	movq	_NPCM7XX_GP_N_PD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
LBB0_13:
	callq	_npcm_gpio_clr
	jmp	LBB0_17
LBB0_14:
	movq	_NPCM7XX_GP_N_PU@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	(%rdx), %rsi
	movq	%rdi, %r14
	movl	-44(%rbp), %ebx                 ## 4-byte Reload
	movq	%rdx, %r15
	movl	%ebx, %edx
	callq	_npcm_gpio_clr
	movq	_NPCM7XX_GP_N_PD@GOTPCREL(%rip), %rax
LBB0_15:
	movq	(%rax), %rsi
	addq	(%r15), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
LBB0_16:
	callq	_npcm_gpio_set
LBB0_17:
	xorl	%r15d, %r15d
LBB0_18:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_NPCM7XX_GPIO_PER_BANK,4,2      ## @NPCM7XX_GPIO_PER_BANK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"param=%d %d[GPIO]\n"

	.comm	_NPCM7XX_GP_N_PU,8,3            ## @NPCM7XX_GP_N_PU
	.comm	_NPCM7XX_GP_N_PD,8,3            ## @NPCM7XX_GP_N_PD
	.comm	_NPCM7XX_GP_N_OEC,8,3           ## @NPCM7XX_GP_N_OEC
	.comm	_NPCM7XX_GP_N_OES,8,3           ## @NPCM7XX_GP_N_OES
	.comm	_NPCM7XX_GP_N_OTYP,8,3          ## @NPCM7XX_GP_N_OTYP
	.comm	_NPCM7XX_GP_N_DBNC,8,3          ## @NPCM7XX_GP_N_DBNC
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.no_dead_strip	_npcm7xx_config_set_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function npcm7xx_config_set_one
_npcm7xx_config_set_one:                ; @npcm7xx_config_set_one
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x21, x1
	mov	x24, x0
	mov	x0, x2
	bl	_pinconf_to_config_param
	mov	x25, x0
	mov	x0, x19
	bl	_pinconf_to_config_argument
	mov	x23, x0
	ldr	x26, [x24, #8]
Lloh0:
	adrp	x8, _NPCM7XX_GPIO_PER_BANK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NPCM7XX_GPIO_PER_BANK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	udiv	w27, w21, w8
	add	x22, x26, x27, lsl #5
	mov	x19, x22
	ldr	w8, [x19, #8]!
	udiv	w9, w21, w8
	msub	w0, w9, w8, w21
	bl	_BIT
	mov	x20, x0
	ldr	w0, [x22, #12]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x25
	mov	x3, x21
	bl	_dev_dbg
	sub	w8, w25, #128
	cmp	w8, #9
	b.hi	LBB0_3
; %bb.1:
Lloh5:
	adrp	x9, lJTI0_0@PAGE
Lloh6:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	w1, [x24]
	mov	x0, x22
	mov	x2, x21
	mov	x3, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_npcm7xx_set_slew_rate
LBB0_3:
Lloh7:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_16
LBB0_4:
	ldr	x8, [x22]
Lloh10:
	adrp	x9, _NPCM7XX_GP_N_OES@GOTPAGE
Lloh11:
	ldr	x9, [x9, _NPCM7XX_GP_N_OES@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x20
	bl	_iowrite32
	add	x8, x26, x27, lsl #5
	ldr	x8, [x8, #16]
	ldr	w9, [x19]
	udiv	w10, w21, w9
	msub	w1, w10, w9, w21
	mov	x0, x19
	mov	x2, x23
	blr	x8
	b	LBB0_15
LBB0_5:
	ldr	x8, [x22]
Lloh13:
	adrp	x9, _NPCM7XX_GP_N_OEC@GOTPAGE
Lloh14:
	ldr	x9, [x9, _NPCM7XX_GP_N_OEC@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x20
	bl	_iowrite32
	add	x8, x26, x27, lsl #5
	ldr	x8, [x8, #24]
	ldr	w9, [x19]
	udiv	w10, w21, w9
	msub	w1, w10, w9, w21
	mov	x0, x19
	blr	x8
	b	LBB0_15
LBB0_6:
	ldr	x8, [x22]
Lloh16:
	adrp	x9, _NPCM7XX_GP_N_DBNC@GOTPAGE
Lloh17:
	ldr	x9, [x9, _NPCM7XX_GP_N_DBNC@GOTPAGEOFF]
	b	LBB0_14
LBB0_7:
	mov	x0, x24
	mov	x1, x21
	mov	x2, x23
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_npcm7xx_set_drive_strength
LBB0_8:
	ldr	x8, [x22]
Lloh18:
	adrp	x9, _NPCM7XX_GP_N_OTYP@GOTPAGE
Lloh19:
	ldr	x9, [x9, _NPCM7XX_GP_N_OTYP@GOTPAGEOFF]
	b	LBB0_12
LBB0_9:
	ldr	x8, [x22]
Lloh20:
	adrp	x9, _NPCM7XX_GP_N_OTYP@GOTPAGE
Lloh21:
	ldr	x9, [x9, _NPCM7XX_GP_N_OTYP@GOTPAGEOFF]
	b	LBB0_14
LBB0_10:
	ldr	x8, [x22]
Lloh22:
	adrp	x9, _NPCM7XX_GP_N_PD@GOTPAGE
Lloh23:
	ldr	x9, [x9, _NPCM7XX_GP_N_PD@GOTPAGEOFF]
Lloh24:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	mov	x2, x20
	bl	_npcm_gpio_clr
	ldr	x8, [x22]
Lloh25:
	adrp	x9, _NPCM7XX_GP_N_PU@GOTPAGE
Lloh26:
	ldr	x9, [x9, _NPCM7XX_GP_N_PU@GOTPAGEOFF]
	b	LBB0_14
LBB0_11:
	ldr	x8, [x22]
Lloh27:
	adrp	x9, _NPCM7XX_GP_N_PU@GOTPAGE
Lloh28:
	ldr	x9, [x9, _NPCM7XX_GP_N_PU@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	mov	x2, x20
	bl	_npcm_gpio_clr
	ldr	x8, [x22]
Lloh30:
	adrp	x9, _NPCM7XX_GP_N_PD@GOTPAGE
Lloh31:
	ldr	x9, [x9, _NPCM7XX_GP_N_PD@GOTPAGEOFF]
LBB0_12:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	mov	x2, x20
	bl	_npcm_gpio_clr
	b	LBB0_15
LBB0_13:
	ldr	x8, [x22]
Lloh32:
	adrp	x9, _NPCM7XX_GP_N_PU@GOTPAGE
Lloh33:
	ldr	x9, [x9, _NPCM7XX_GP_N_PU@GOTPAGEOFF]
Lloh34:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	mov	x2, x20
	bl	_npcm_gpio_clr
	ldr	x8, [x22]
Lloh35:
	adrp	x9, _NPCM7XX_GP_N_PD@GOTPAGE
Lloh36:
	ldr	x9, [x9, _NPCM7XX_GP_N_PD@GOTPAGEOFF]
LBB0_14:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	mov	x2, x20
	bl	_npcm_gpio_set
LBB0_15:
	mov	w0, #0
LBB0_16:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
	.byte	(LBB0_13-LBB0_2)>>2
	.byte	(LBB0_11-LBB0_2)>>2
                                        ; -- End function
	.comm	_NPCM7XX_GPIO_PER_BANK,4,2      ; @NPCM7XX_GPIO_PER_BANK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"param=%d %d[GPIO]\n"

	.comm	_NPCM7XX_GP_N_PU,8,3            ; @NPCM7XX_GP_N_PU
	.comm	_NPCM7XX_GP_N_PD,8,3            ; @NPCM7XX_GP_N_PD
	.comm	_NPCM7XX_GP_N_OEC,8,3           ; @NPCM7XX_GP_N_OEC
	.comm	_NPCM7XX_GP_N_OES,8,3           ; @NPCM7XX_GP_N_OES
	.comm	_NPCM7XX_GP_N_OTYP,8,3          ; @NPCM7XX_GP_N_OTYP
	.comm	_NPCM7XX_GP_N_DBNC,8,3          ; @NPCM7XX_GP_N_DBNC
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.no_dead_strip	_npcm7xx_config_set_one
.subsections_via_symbols
