	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_get_gpiod
_acpi_get_gpiod:                        ## @acpi_get_gpiod
	.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	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rsi
	xorl	%ebx, %ebx
	leaq	-20(%rbp), %rdx
	xorl	%edi, %edi
	callq	_acpi_get_handle
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	movl	%ebx, %edi
LBB0_5:
	callq	_ERR_PTR
	jmp	LBB0_6
LBB0_2:
	movl	-20(%rbp), %edi
	movq	_acpi_gpiochip_find@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_gpiochip_find
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%rax, %rdi
	movl	%r14d, %esi
	callq	_gpiochip_get_desc
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	_EPROBE_DEFER@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_ENODEV,4,2                     ## @ENODEV
	.comm	_acpi_gpiochip_find,4,2         ## @acpi_gpiochip_find
	.comm	_EPROBE_DEFER,4,2               ## @EPROBE_DEFER
	.no_dead_strip	_acpi_get_gpiod
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_get_gpiod
_acpi_get_gpiod:                        ; @acpi_get_gpiod
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x1, x0
	add	x2, sp, #12
	mov	x0, #0
	bl	_acpi_get_handle
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _ENODEV@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
	neg	w0, w8
	bl	_ERR_PTR
	b	LBB0_5
LBB0_3:
	ldr	w0, [sp, #12]
Lloh2:
	adrp	x8, _acpi_gpiochip_find@GOTPAGE
Lloh3:
	ldr	x8, [x8, _acpi_gpiochip_find@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_gpiochip_find
	cbz	x0, LBB0_6
; %bb.4:
	mov	x1, x19
	bl	_gpiochip_get_desc
LBB0_5:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_6:
Lloh5:
	adrp	x8, _EPROBE_DEFER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EPROBE_DEFER@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ENODEV,4,2                     ; @ENODEV
	.comm	_acpi_gpiochip_find,4,2         ; @acpi_gpiochip_find
	.comm	_EPROBE_DEFER,4,2               ; @EPROBE_DEFER
	.no_dead_strip	_acpi_get_gpiod
.subsections_via_symbols
