	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_bay_match
_acpi_bay_match:                        ## @acpi_bay_match
	.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	(%rdi), %ebx
	leaq	L_.str(%rip), %rsi
	leaq	-20(%rbp), %rdx
	movl	%ebx, %edi
	callq	_acpi_get_handle
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	je	LBB0_1
LBB0_10:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	jmp	LBB0_11
LBB0_1:
	leaq	L_.str.1(%rip), %rsi
	leaq	-20(%rbp), %rdx
	movl	%ebx, %edi
	callq	_acpi_get_handle
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	xorl	%r14d, %r14d
	testq	%rax, %rax
	jne	LBB0_11
## %bb.2:
	leaq	L_.str.2(%rip), %rsi
	leaq	-20(%rbp), %rdx
	movl	%ebx, %edi
	callq	_acpi_get_handle
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	jne	LBB0_11
## %bb.3:
	leaq	L_.str.3(%rip), %rsi
	leaq	-20(%rbp), %rdx
	movl	%ebx, %edi
	callq	_acpi_get_handle
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	jne	LBB0_11
## %bb.4:
	leaq	L_.str.4(%rip), %rsi
	leaq	-20(%rbp), %rdx
	movl	%ebx, %edi
	callq	_acpi_get_handle
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	je	LBB0_5
LBB0_11:
	movl	%r14d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	leaq	-24(%rbp), %rsi
	movl	%ebx, %edi
	callq	_acpi_get_parent
	testq	%rax, %rax
	jne	LBB0_10
## %bb.6:
	movl	-24(%rbp), %edi
	leaq	L_.str.1(%rip), %rsi
	leaq	-20(%rbp), %rdx
	callq	_acpi_get_handle
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	jne	LBB0_11
## %bb.7:
	movl	-24(%rbp), %edi
	leaq	L_.str.2(%rip), %rsi
	leaq	-20(%rbp), %rdx
	callq	_acpi_get_handle
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	jne	LBB0_11
## %bb.8:
	movl	-24(%rbp), %edi
	leaq	L_.str.3(%rip), %rsi
	leaq	-20(%rbp), %rdx
	callq	_acpi_get_handle
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	jne	LBB0_11
## %bb.9:
	movl	-24(%rbp), %edi
	leaq	L_.str.4(%rip), %rsi
	leaq	-20(%rbp), %rdx
	callq	_acpi_get_handle
	movl	%eax, %edi
	callq	_ACPI_SUCCESS
	testq	%rax, %rax
	jne	LBB0_11
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"_EJ0"

	.comm	_ENODEV,4,2                     ## @ENODEV
L_.str.1:                               ## @.str.1
	.asciz	"_GTF"

L_.str.2:                               ## @.str.2
	.asciz	"_GTM"

L_.str.3:                               ## @.str.3
	.asciz	"_STM"

L_.str.4:                               ## @.str.4
	.asciz	"_SDD"

	.no_dead_strip	_acpi_bay_match
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_bay_match
_acpi_bay_match:                        ; @acpi_bay_match
	.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
	ldr	w19, [x0]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #12
	mov	x0, x19
	bl	_acpi_get_handle
	bl	_ACPI_FAILURE
	cbz	x0, LBB0_2
LBB0_1:
Lloh2:
	adrp	x8, _ENODEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_7
LBB0_2:
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	mov	x0, x19
	bl	_acpi_get_handle
	bl	_ACPI_SUCCESS
	cbnz	x0, LBB0_6
; %bb.3:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #12
	mov	x0, x19
	bl	_acpi_get_handle
	bl	_ACPI_SUCCESS
	cbnz	x0, LBB0_6
; %bb.4:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #12
	mov	x0, x19
	bl	_acpi_get_handle
	bl	_ACPI_SUCCESS
	cbnz	x0, LBB0_6
; %bb.5:
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x2, sp, #12
	mov	x0, x19
	bl	_acpi_get_handle
	bl	_ACPI_SUCCESS
	cbz	x0, LBB0_8
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_8:
	add	x1, sp, #8
	mov	x0, x19
	bl	_acpi_get_parent
	cbnz	x0, LBB0_1
; %bb.9:
	ldr	w0, [sp, #8]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x2, sp, #12
	bl	_acpi_get_handle
	bl	_ACPI_SUCCESS
	cbnz	x0, LBB0_6
; %bb.10:
	ldr	w0, [sp, #8]
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	add	x2, sp, #12
	bl	_acpi_get_handle
	bl	_ACPI_SUCCESS
	cbnz	x0, LBB0_6
; %bb.11:
	ldr	w0, [sp, #8]
Lloh17:
	adrp	x1, l_.str.3@PAGE
Lloh18:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x2, sp, #12
	bl	_acpi_get_handle
	bl	_ACPI_SUCCESS
	cbnz	x0, LBB0_6
; %bb.12:
	ldr	w0, [sp, #8]
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	add	x2, sp, #12
	bl	_acpi_get_handle
	bl	_ACPI_SUCCESS
	cbnz	x0, LBB0_6
	b	LBB0_1
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"_EJ0"

	.comm	_ENODEV,4,2                     ; @ENODEV
l_.str.1:                               ; @.str.1
	.asciz	"_GTF"

l_.str.2:                               ; @.str.2
	.asciz	"_GTM"

l_.str.3:                               ; @.str.3
	.asciz	"_STM"

l_.str.4:                               ; @.str.4
	.asciz	"_SDD"

	.no_dead_strip	_acpi_bay_match
.subsections_via_symbols
