	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function meson_pinconf_get_pull
_meson_pinconf_get_pull:                ## @meson_pinconf_get_pull
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	leaq	-48(%rbp), %rdx
	callq	_meson_get_bank
	testl	%eax, %eax
	jne	LBB0_9
## %bb.1:
	movq	-48(%rbp), %rdi
	movq	_REG_PULLEN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-36(%rbp), %rcx
	leaq	-32(%rbp), %r8
	movl	%ebx, %esi
	callq	_meson_calc_reg_and_bit
	movl	4(%r14), %edi
	movl	-36(%rbp), %esi
	leaq	-28(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	jne	LBB0_9
## %bb.2:
	movl	-28(%rbp), %r15d
	movl	-32(%rbp), %edi
	callq	_BIT
	testl	%r15d, %eax
	je	LBB0_3
## %bb.4:
	movq	-48(%rbp), %rdi
	movq	_REG_PULL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-36(%rbp), %rcx
	leaq	-32(%rbp), %r8
	movl	%ebx, %esi
	callq	_meson_calc_reg_and_bit
	movl	(%r14), %edi
	movl	-36(%rbp), %esi
	leaq	-28(%rbp), %rdx
	callq	_regmap_read
	testl	%eax, %eax
	jne	LBB0_9
## %bb.5:
	movl	-28(%rbp), %ebx
	movl	-32(%rbp), %edi
	callq	_BIT
	testl	%ebx, %eax
	jne	LBB0_6
## %bb.7:
	movq	_PIN_CONFIG_BIAS_PULL_DOWN@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_3:
	movq	_PIN_CONFIG_BIAS_DISABLE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_6:
	movq	_PIN_CONFIG_BIAS_PULL_UP@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_PULLEN,4,2                 ## @REG_PULLEN
	.comm	_PIN_CONFIG_BIAS_DISABLE,4,2    ## @PIN_CONFIG_BIAS_DISABLE
	.comm	_REG_PULL,4,2                   ## @REG_PULL
	.comm	_PIN_CONFIG_BIAS_PULL_UP,4,2    ## @PIN_CONFIG_BIAS_PULL_UP
	.comm	_PIN_CONFIG_BIAS_PULL_DOWN,4,2  ## @PIN_CONFIG_BIAS_PULL_DOWN
	.no_dead_strip	_meson_pinconf_get_pull
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function meson_pinconf_get_pull
_meson_pinconf_get_pull:                ; @meson_pinconf_get_pull
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	mov	x19, x0
	add	x2, sp, #24
	bl	_meson_get_bank
	cbnz	w0, LBB0_7
; %bb.1:
	ldr	x0, [sp, #24]
Lloh0:
	adrp	x8, _REG_PULLEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_PULLEN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	add	x3, sp, #20
	add	x4, sp, #16
	mov	x1, x20
	bl	_meson_calc_reg_and_bit
	ldr	w0, [x19, #4]
	ldr	w1, [sp, #20]
	add	x2, sp, #12
	bl	_regmap_read
	cbnz	w0, LBB0_7
; %bb.2:
	ldp	w21, w0, [sp, #12]
	bl	_BIT
	tst	w0, w21
	b.eq	LBB0_5
; %bb.3:
	ldr	x0, [sp, #24]
Lloh3:
	adrp	x8, _REG_PULL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _REG_PULL@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x3, sp, #20
	add	x4, sp, #16
	mov	x1, x20
	bl	_meson_calc_reg_and_bit
	ldr	w0, [x19]
	ldr	w1, [sp, #20]
	add	x2, sp, #12
	bl	_regmap_read
	cbnz	w0, LBB0_7
; %bb.4:
	ldp	w19, w0, [sp, #12]
	bl	_BIT
Lloh6:
	adrp	x8, _PIN_CONFIG_BIAS_PULL_UP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _PIN_CONFIG_BIAS_PULL_UP@GOTPAGEOFF]
Lloh8:
	adrp	x9, _PIN_CONFIG_BIAS_PULL_DOWN@GOTPAGE
Lloh9:
	ldr	x9, [x9, _PIN_CONFIG_BIAS_PULL_DOWN@GOTPAGEOFF]
	tst	w0, w19
	csel	x8, x9, x8, eq
	b	LBB0_6
LBB0_5:
Lloh10:
	adrp	x8, _PIN_CONFIG_BIAS_DISABLE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _PIN_CONFIG_BIAS_DISABLE@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_PULLEN,4,2                 ; @REG_PULLEN
	.comm	_PIN_CONFIG_BIAS_DISABLE,4,2    ; @PIN_CONFIG_BIAS_DISABLE
	.comm	_REG_PULL,4,2                   ; @REG_PULL
	.comm	_PIN_CONFIG_BIAS_PULL_UP,4,2    ; @PIN_CONFIG_BIAS_PULL_UP
	.comm	_PIN_CONFIG_BIAS_PULL_DOWN,4,2  ; @PIN_CONFIG_BIAS_PULL_DOWN
	.no_dead_strip	_meson_pinconf_get_pull
.subsections_via_symbols
