	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function meson_gpio_get
_meson_gpio_get:                        ## @meson_gpio_get
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	callq	_gpiochip_get_data
	movq	%rax, %rbx
	leaq	-40(%rbp), %rdx
	movq	%rax, %rdi
	movl	%r14d, %esi
	callq	_meson_get_bank
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movq	-40(%rbp), %rdi
	movq	_REG_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-28(%rbp), %rcx
	leaq	-24(%rbp), %r8
	movl	%r14d, %esi
	callq	_meson_calc_reg_and_bit
	movl	(%rbx), %edi
	movl	-28(%rbp), %esi
	leaq	-20(%rbp), %rdx
	callq	_regmap_read
	movl	-20(%rbp), %ebx
	movl	-24(%rbp), %edi
	callq	_BIT
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ebx, %ecx
	setne	%al
LBB0_2:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_IN,4,2                     ## @REG_IN
	.no_dead_strip	_meson_gpio_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function meson_gpio_get
_meson_gpio_get:                        ; @meson_gpio_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	bl	_gpiochip_get_data
	mov	x20, x0
	add	x2, sp, #8
	mov	x1, x19
	bl	_meson_get_bank
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	x0, [sp, #8]
Lloh0:
	adrp	x8, _REG_IN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REG_IN@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	sub	x3, x29, #20
	add	x4, sp, #24
	mov	x1, x19
	bl	_meson_calc_reg_and_bit
	ldr	w0, [x20]
	ldur	w1, [x29, #-20]
	add	x2, sp, #20
	bl	_regmap_read
	ldp	w19, w0, [sp, #20]
	bl	_BIT
	tst	w0, w19
	cset	w0, ne
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_IN,4,2                     ; @REG_IN
	.no_dead_strip	_meson_gpio_get
.subsections_via_symbols
