	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s900_pad_pinconf_val2arg
_s900_pad_pinconf_val2arg:              ## @s900_pad_pinconf_val2arg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$4, %esi
	ja	LBB0_3
## %bb.1:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	xorl	%eax, %eax
	cmpl	$1, (%rdx)
	sete	%al
	movl	%eax, (%rdx)
	jmp	LBB0_9
LBB0_3:
	movq	_ENOTSUPP@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_4:
	movl	(%rdx), %eax
	movq	_OWL_PINCONF_PULL_UP@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_5:
	movl	(%rdx), %eax
	movq	_OWL_PINCONF_PULL_DOWN@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_6:
	movl	(%rdx), %eax
	movq	_OWL_PINCONF_PULL_HIZ@GOTPCREL(%rip), %rcx
	jmp	LBB0_8
LBB0_7:
	movl	(%rdx), %eax
	movq	_OWL_PINCONF_PULL_HOLD@GOTPCREL(%rip), %rcx
LBB0_8:
	xorl	%esi, %esi
	cmpl	(%rcx), %eax
	sete	%sil
	movl	%esi, (%rdx)
LBB0_9:
	xorl	%eax, %eax
	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
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
	.end_data_region
                                        ## -- End function
	.comm	_OWL_PINCONF_PULL_HOLD,4,2      ## @OWL_PINCONF_PULL_HOLD
	.comm	_OWL_PINCONF_PULL_HIZ,4,2       ## @OWL_PINCONF_PULL_HIZ
	.comm	_OWL_PINCONF_PULL_DOWN,4,2      ## @OWL_PINCONF_PULL_DOWN
	.comm	_OWL_PINCONF_PULL_UP,4,2        ## @OWL_PINCONF_PULL_UP
	.comm	_ENOTSUPP,4,2                   ## @ENOTSUPP
	.no_dead_strip	_s900_pad_pinconf_val2arg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s900_pad_pinconf_val2arg
_s900_pad_pinconf_val2arg:              ; @s900_pad_pinconf_val2arg
	.cfi_startproc
; %bb.0:
	sub	w8, w1, #128
	cmp	w8, #4
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	mov	w0, #0
	ldr	w8, [x2]
	cmp	w8, #1
	b	LBB0_9
LBB0_3:
Lloh2:
	adrp	x8, _ENOTSUPP@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENOTSUPP@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_4:
	mov	w0, #0
	ldr	w8, [x2]
Lloh5:
	adrp	x9, _OWL_PINCONF_PULL_UP@GOTPAGE
Lloh6:
	ldr	x9, [x9, _OWL_PINCONF_PULL_UP@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
	mov	w0, #0
	ldr	w8, [x2]
Lloh7:
	adrp	x9, _OWL_PINCONF_PULL_DOWN@GOTPAGE
Lloh8:
	ldr	x9, [x9, _OWL_PINCONF_PULL_DOWN@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	mov	w0, #0
	ldr	w8, [x2]
Lloh9:
	adrp	x9, _OWL_PINCONF_PULL_HIZ@GOTPAGE
Lloh10:
	ldr	x9, [x9, _OWL_PINCONF_PULL_HIZ@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
	mov	w0, #0
	ldr	w8, [x2]
Lloh11:
	adrp	x9, _OWL_PINCONF_PULL_HOLD@GOTPAGE
Lloh12:
	ldr	x9, [x9, _OWL_PINCONF_PULL_HOLD@GOTPAGEOFF]
LBB0_8:
	ldr	w9, [x9]
	cmp	w8, w9
LBB0_9:
	cset	w8, eq
	str	w8, [x2]
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.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
                                        ; -- End function
	.comm	_OWL_PINCONF_PULL_HOLD,4,2      ; @OWL_PINCONF_PULL_HOLD
	.comm	_OWL_PINCONF_PULL_HIZ,4,2       ; @OWL_PINCONF_PULL_HIZ
	.comm	_OWL_PINCONF_PULL_DOWN,4,2      ; @OWL_PINCONF_PULL_DOWN
	.comm	_OWL_PINCONF_PULL_UP,4,2        ; @OWL_PINCONF_PULL_UP
	.comm	_ENOTSUPP,4,2                   ; @ENOTSUPP
	.no_dead_strip	_s900_pad_pinconf_val2arg
.subsections_via_symbols
