	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rockchip_pinconf_pull_valid
_rockchip_pinconf_pull_valid:           ## @rockchip_pinconf_pull_valid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$8, %eax
	ja	LBB0_1
## %bb.2:
	movl	$287, %ecx                      ## imm = 0x11F
	btl	%eax, %ecx
	jae	LBB0_3
## %bb.6:
	movq	_PIN_CONFIG_BIAS_PULL_PIN_DEFAULT@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	setne	%al
	jmp	LBB0_7
LBB0_3:
	movl	$160, %ecx
	btl	%eax, %ecx
	jae	LBB0_5
## %bb.4:
	movq	_PIN_CONFIG_BIAS_PULL_PIN_DEFAULT@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	sete	%cl
	movq	_PIN_CONFIG_BIAS_DISABLE@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	sete	%al
	orb	%cl, %al
	jmp	LBB0_7
LBB0_1:
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_5:
	testl	%esi, %esi
	sete	%al
LBB0_7:
	movzbl	%al, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PIN_CONFIG_BIAS_PULL_PIN_DEFAULT,4,2 ## @PIN_CONFIG_BIAS_PULL_PIN_DEFAULT
	.comm	_PIN_CONFIG_BIAS_DISABLE,4,2    ## @PIN_CONFIG_BIAS_DISABLE
	.no_dead_strip	_rockchip_pinconf_pull_valid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rockchip_pinconf_pull_valid
_rockchip_pinconf_pull_valid:           ; @rockchip_pinconf_pull_valid
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #8
	b.hi	LBB0_5
; %bb.1:
	mov	w9, #1
	lsl	w8, w9, w8
	mov	w9, #287
	tst	w8, w9
	b.eq	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _PIN_CONFIG_BIAS_PULL_PIN_DEFAULT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PIN_CONFIG_BIAS_PULL_PIN_DEFAULT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	cset	w0, ne
	ret
LBB0_3:
	mov	w9, #160
	tst	w8, w9
	b.eq	LBB0_6
; %bb.4:
Lloh3:
	adrp	x8, _PIN_CONFIG_BIAS_PULL_PIN_DEFAULT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PIN_CONFIG_BIAS_PULL_PIN_DEFAULT@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w1
Lloh6:
	adrp	x8, _PIN_CONFIG_BIAS_DISABLE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PIN_CONFIG_BIAS_DISABLE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ccmp	w8, w1, #4, ne
	cset	w0, eq
	ret
LBB0_5:
	mov	w0, #0
	ret
LBB0_6:
	cmp	w1, #0
	cset	w0, eq
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PIN_CONFIG_BIAS_PULL_PIN_DEFAULT,4,2 ; @PIN_CONFIG_BIAS_PULL_PIN_DEFAULT
	.comm	_PIN_CONFIG_BIAS_DISABLE,4,2    ; @PIN_CONFIG_BIAS_DISABLE
	.no_dead_strip	_rockchip_pinconf_pull_valid
.subsections_via_symbols
