	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_subobj_info
_get_subobj_info:                       ## @get_subobj_info
	.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
	movq	%rdx, %r14
	leaq	-20(%rbp), %rdx
	callq	_acpi_get_handle
	movq	_AE_NOT_FOUND@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.1:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movq	%rax, %rdi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	jne	LBB0_4
## %bb.5:
	testq	%r14, %r14
	leaq	-32(%rbp), %rsi
	cmovneq	%r14, %rsi
	movl	-20(%rbp), %edi
	callq	_acpi_get_object_info
	movq	%rax, %rdi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_6
LBB0_4:
	movq	_EIO@GOTPCREL(%rip), %rax
LBB0_2:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	xorl	%ebx, %ebx
	testq	%r14, %r14
	jne	LBB0_8
## %bb.7:
	movq	-32(%rbp), %rdi
	callq	_kfree
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_AE_NOT_FOUND,8,3               ## @AE_NOT_FOUND
	.comm	_ENOENT,4,2                     ## @ENOENT
	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_get_subobj_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_subobj_info
_get_subobj_info:                       ; @get_subobj_info
	.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, x2
	add	x2, sp, #4
	bl	_acpi_get_handle
Lloh0:
	adrp	x8, _AE_NOT_FOUND@GOTPAGE
Lloh1:
	ldr	x8, [x8, _AE_NOT_FOUND@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _ENOENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:
	bl	_ACPI_FAILURE
	cbnz	x0, LBB0_4
; %bb.3:
	add	x8, sp, #8
	cmp	x19, #0
	csel	x1, x8, x19, eq
	ldr	w0, [sp, #4]
	bl	_acpi_get_object_info
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_7
LBB0_4:
Lloh5:
	adrp	x8, _EIO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_7:
	cbnz	x19, LBB0_9
; %bb.8:
	ldr	x0, [sp, #8]
	bl	_kfree
LBB0_9:
	mov	w0, #0
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_AE_NOT_FOUND,8,3               ; @AE_NOT_FOUND
	.comm	_ENOENT,4,2                     ; @ENOENT
	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_get_subobj_info
.subsections_via_symbols
