	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function syscon_gpio_get
_syscon_gpio_get:                       ## @syscon_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	callq	_gpiochip_get_data
	addl	(%rax), %ebx
	movq	8(%rax), %rcx
	addl	(%rcx), %ebx
	movl	4(%rax), %edi
	movq	_SYSCON_REG_BITS@GOTPCREL(%rip), %r14
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	(%r14)
	movq	_SYSCON_REG_SIZE@GOTPCREL(%rip), %rcx
	imull	(%rcx), %eax
	leaq	-28(%rbp), %rdx
	movl	%eax, %esi
	callq	_regmap_read
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	movl	-28(%rbp), %r15d
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	(%r14)
	movl	%edx, %edi
	callq	_BIT
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%r15d, %ecx
	setne	%al
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SYSCON_REG_BITS,4,2            ## @SYSCON_REG_BITS
	.comm	_SYSCON_REG_SIZE,4,2            ## @SYSCON_REG_SIZE
	.no_dead_strip	_syscon_gpio_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function syscon_gpio_get
_syscon_gpio_get:                       ; @syscon_gpio_get
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	bl	_gpiochip_get_data
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
	ldp	w9, w0, [x0]
	add	w9, w9, w19
	add	w19, w9, w8
Lloh0:
	adrp	x20, _SYSCON_REG_BITS@GOTPAGE
Lloh1:
	ldr	x20, [x20, _SYSCON_REG_BITS@GOTPAGEOFF]
	ldr	w8, [x20]
	udiv	w8, w19, w8
Lloh2:
	adrp	x9, _SYSCON_REG_SIZE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SYSCON_REG_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	mul	w1, w9, w8
	add	x2, sp, #12
	bl	_regmap_read
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w21, [sp, #12]
	ldr	w8, [x20]
	udiv	w9, w19, w8
	msub	w0, w9, w8, w19
	bl	_BIT
	tst	w0, w21
	cset	w0, ne
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SYSCON_REG_BITS,4,2            ; @SYSCON_REG_BITS
	.comm	_SYSCON_REG_SIZE,4,2            ; @SYSCON_REG_SIZE
	.no_dead_strip	_syscon_gpio_get
.subsections_via_symbols
