	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function param_get_debug_layer
_param_get_debug_layer:                 ## @param_get_debug_layer
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	xorl	%eax, %eax
	callq	_sprintf
	movl	%eax, %r13d
	movq	_acpi_debug_layers@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_5
## %bb.1:
	movl	$8, %ebx
	xorl	%r15d, %r15d
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	-8(%rax,%rbx), %rdx
	leaq	L_.str.2(%rip), %rsi
	xorl	%eax, %eax
	callq	_sprintf
	addl	%eax, %r13d
	incq	%r15
	movq	(%r12), %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$16, %rbx
	cmpq	%rax, %r15
	jge	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movslq	%r13d, %rdi
	addq	%r14, %rdi
	movq	(%r12), %rax
	movl	(%rax,%rbx), %ecx
	movq	_acpi_dbg_layer@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	$32, %r8d
	andl	%ecx, %edx
	je	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$42, %r8d
	jmp	LBB0_4
LBB0_5:
	movq	_ACPI_ALL_DRIVERS@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_acpi_dbg_layer@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	andl	%ecx, %eax
	movl	$32, %edx
	movl	$45, %esi
	cmovel	%edx, %esi
	cmpl	%ecx, %eax
	movl	$42, %r8d
	cmovnel	%esi, %r8d
	movslq	%r13d, %rbx
	leaq	(%r14,%rbx), %rdi
	leaq	L_.str.3(%rip), %rsi
	leaq	L_.str.4(%rip), %rdx
	xorl	%eax, %eax
	callq	_sprintf
	addl	%eax, %ebx
	movslq	%ebx, %rbx
	addq	%rbx, %r14
	movl	(%r15), %edx
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_sprintf
	addl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%-25s\tHex        SET\n"

L_.str.1:                               ## @.str.1
	.asciz	"Description"

	.comm	_acpi_debug_layers,8,3          ## @acpi_debug_layers
L_.str.2:                               ## @.str.2
	.asciz	"%-25s\t0x%08lX [%c]\n"

	.comm	_acpi_dbg_layer,4,2             ## @acpi_dbg_layer
L_.str.3:                               ## @.str.3
	.asciz	"%-25s\t0x%08X [%c]\n"

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

	.comm	_ACPI_ALL_DRIVERS,4,2           ## @ACPI_ALL_DRIVERS
L_.str.5:                               ## @.str.5
	.asciz	"--\ndebug_layer = 0x%08X ( * = enabled)\n"

	.no_dead_strip	_param_get_debug_layer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function param_get_debug_layer
_param_get_debug_layer:                 ; @param_get_debug_layer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
	str	x8, [sp]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_sprintf
	mov	x20, x0
Lloh4:
	adrp	x23, _acpi_debug_layers@GOTPAGE
Lloh5:
	ldr	x23, [x23, _acpi_debug_layers@GOTPAGEOFF]
	ldr	x0, [x23]
	bl	_ARRAY_SIZE
Lloh6:
	adrp	x22, _acpi_dbg_layer@GOTPAGE
Lloh7:
	ldr	x22, [x22, _acpi_dbg_layer@GOTPAGEOFF]
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x24, #0
	mov	x25, #0
	mov	w26, #42
	mov	w27, #32
Lloh8:
	adrp	x21, l_.str.2@PAGE
Lloh9:
	add	x21, x21, l_.str.2@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, x19, w20, sxtw
	ldr	x8, [x23]
	add	x8, x8, x24
	ldr	x9, [x8]
	ldr	w8, [x8, #8]
	ldr	w10, [x22]
	stp	x9, x8, [sp]
	tst	w10, w8
	csel	x8, x27, x26, eq
	str	x8, [sp, #16]
	mov	x1, x21
	bl	_sprintf
	add	w20, w0, w20
	add	x25, x25, #1
	ldr	x0, [x23]
	bl	_ARRAY_SIZE
	add	x24, x24, #16
	cmp	x25, w0, sxtw
	b.lt	LBB0_2
LBB0_3:
Lloh10:
	adrp	x8, _ACPI_ALL_DRIVERS@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ACPI_ALL_DRIVERS@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [x22]
	ands	w9, w9, w8
	mov	w10, #45
	mov	w11, #32
	csel	w10, w11, w10, eq
	mov	w11, #42
	cmp	w9, w8
	csel	w9, w11, w10, eq
	sxtw	x20, w20
	add	x0, x19, x20
Lloh13:
	adrp	x10, l_.str.4@PAGE
Lloh14:
	add	x10, x10, l_.str.4@PAGEOFF
	stp	x10, x8, [sp]
	str	x9, [sp, #16]
Lloh15:
	adrp	x1, l_.str.3@PAGE
Lloh16:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_sprintf
	add	x20, x20, w0, sxtw
	add	x0, x19, x20
	ldr	w8, [x22]
	str	x8, [sp]
Lloh17:
	adrp	x1, l_.str.5@PAGE
Lloh18:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_sprintf
	add	w0, w0, w20
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%-25s\tHex        SET\n"

l_.str.1:                               ; @.str.1
	.asciz	"Description"

	.comm	_acpi_debug_layers,8,3          ; @acpi_debug_layers
l_.str.2:                               ; @.str.2
	.asciz	"%-25s\t0x%08lX [%c]\n"

	.comm	_acpi_dbg_layer,4,2             ; @acpi_dbg_layer
l_.str.3:                               ; @.str.3
	.asciz	"%-25s\t0x%08X [%c]\n"

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

	.comm	_ACPI_ALL_DRIVERS,4,2           ; @ACPI_ALL_DRIVERS
l_.str.5:                               ; @.str.5
	.asciz	"--\ndebug_layer = 0x%08X ( * = enabled)\n"

	.no_dead_strip	_param_get_debug_layer
.subsections_via_symbols
