	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function param_set_trace_state
_param_set_trace_state:                 ## @param_set_trace_state
	.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	%rdi, %rbx
	leaq	L_.str(%rip), %r14
	movq	%r14, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	-1(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_1
## %bb.3:
	leaq	L_.str.1(%rip), %r14
	movq	%r14, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	-1(%rax), %edx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.8:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_1:
	movq	_trace_method_name@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_trace_debug_level@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_trace_debug_layer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	callq	_acpi_debug_trace
	testl	%eax, %eax
	jne	LBB0_2
	jmp	LBB0_10
LBB0_4:
	movl	$0, -20(%rbp)
	movq	_trace_debug_level@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_trace_debug_layer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-20(%rbp), %rdi
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	callq	_acpi_debug_trace
	movq	_EBUSY@GOTPCREL(%rip), %rcx
	subl	(%rcx), %ebx
	testl	%eax, %eax
	cmovel	%eax, %ebx
	jmp	LBB0_10
LBB0_6:
	movq	_trace_method_name@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_trace_debug_level@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_trace_debug_layer@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %ecx
	callq	_acpi_debug_trace
	testl	%eax, %eax
	je	LBB0_7
LBB0_2:
	movq	_EBUSY@GOTPCREL(%rip), %rax
LBB0_9:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_10:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_7:
	xorl	%ebx, %ebx
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"enable"

	.comm	_trace_method_name,8,3          ## @trace_method_name
	.comm	_trace_debug_level,4,2          ## @trace_debug_level
	.comm	_trace_debug_layer,4,2          ## @trace_debug_layer
	.comm	_EBUSY,4,2                      ## @EBUSY
L_.str.1:                               ## @.str.1
	.asciz	"disable"

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

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_param_set_trace_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function param_set_trace_state
_param_set_trace_state:                 ; @param_set_trace_state
	.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, x0
Lloh0:
	adrp	x20, l_.str@PAGE
Lloh1:
	add	x20, x20, l_.str@PAGEOFF
	mov	x0, x20
	bl	_strlen
	sub	w2, w0, #1
	mov	x0, x19
	mov	x1, x20
	bl	_strncmp
	cbz	w0, LBB0_4
; %bb.1:
Lloh2:
	adrp	x20, l_.str.1@PAGE
Lloh3:
	add	x20, x20, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_strlen
	sub	w2, w0, #1
	mov	x0, x19
	mov	x1, x20
	bl	_strncmp
	cbz	w0, LBB0_5
; %bb.2:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	bl	_strncmp
	cbz	w0, LBB0_6
; %bb.3:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_8
LBB0_4:
Lloh8:
	adrp	x8, _trace_method_name@GOTPAGE
Lloh9:
	ldr	x8, [x8, _trace_method_name@GOTPAGEOFF]
Lloh10:
	ldr	x0, [x8]
Lloh11:
	adrp	x8, _trace_debug_level@GOTPAGE
Lloh12:
	ldr	x8, [x8, _trace_debug_level@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _trace_debug_layer@GOTPAGE
Lloh15:
	ldr	x8, [x8, _trace_debug_layer@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_acpi_debug_trace
	cbnz	w0, LBB0_7
	b	LBB0_9
LBB0_5:
	str	wzr, [sp, #12]
Lloh17:
	adrp	x8, _trace_debug_level@GOTPAGE
Lloh18:
	ldr	x8, [x8, _trace_debug_level@GOTPAGEOFF]
Lloh19:
	ldr	w1, [x8]
Lloh20:
	adrp	x8, _trace_debug_layer@GOTPAGE
Lloh21:
	ldr	x8, [x8, _trace_debug_layer@GOTPAGEOFF]
Lloh22:
	ldr	w2, [x8]
	add	x0, sp, #12
	mov	w3, #0
	bl	_acpi_debug_trace
Lloh23:
	adrp	x8, _EBUSY@GOTPAGE
Lloh24:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	cmp	w0, #0
	csneg	w0, wzr, w8, eq
	b	LBB0_9
LBB0_6:
Lloh26:
	adrp	x8, _trace_method_name@GOTPAGE
Lloh27:
	ldr	x8, [x8, _trace_method_name@GOTPAGEOFF]
Lloh28:
	ldr	x0, [x8]
Lloh29:
	adrp	x8, _trace_debug_level@GOTPAGE
Lloh30:
	ldr	x8, [x8, _trace_debug_level@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
Lloh32:
	adrp	x8, _trace_debug_layer@GOTPAGE
Lloh33:
	ldr	x8, [x8, _trace_debug_layer@GOTPAGEOFF]
Lloh34:
	ldr	w2, [x8]
	mov	w3, #1
	bl	_acpi_debug_trace
	cbz	w0, LBB0_9
LBB0_7:
Lloh35:
	adrp	x8, _EBUSY@GOTPAGE
Lloh36:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"enable"

	.comm	_trace_method_name,8,3          ; @trace_method_name
	.comm	_trace_debug_level,4,2          ; @trace_debug_level
	.comm	_trace_debug_layer,4,2          ; @trace_debug_layer
	.comm	_EBUSY,4,2                      ; @EBUSY
l_.str.1:                               ; @.str.1
	.asciz	"disable"

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

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_param_set_trace_state
.subsections_via_symbols
