	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function guc_action_control_log
_guc_action_control_log:                ## @guc_action_control_log
	.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	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rcx, %rax
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -24(%rbp)
	movq	_INTEL_GUC_ACTION_UK_LOG_ENABLE_LOGGING@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -48(%rbp)
	xorl	%edi, %edi
	movl	$0, %ebx
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movq	_GUC_LOG_CONTROL_LOGGING_ENABLED@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rbx
LBB0_2:
	movq	_GUC_LOG_CONTROL_VERBOSITY_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movq	%rax, %rsi
	shlq	%cl, %rsi
	testl	%edx, %edx
	je	LBB0_4
## %bb.3:
	movq	_GUC_LOG_CONTROL_DEFAULT_LOGGING@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdi
LBB0_4:
	orq	%rdi, %rbx
	orq	%rbx, %rsi
	movq	%rsi, -40(%rbp)
	movq	_GUC_LOG_VERBOSITY_MAX@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	%rax, (%rcx)
	setl	%dil
	callq	_GEM_BUG_ON
	leaq	-48(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_ARRAY_SIZE
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_intel_guc_send
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-24(%rbp), %rcx
	jne	LBB0_6
## %bb.5:
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_INTEL_GUC_ACTION_UK_LOG_ENABLE_LOGGING,8,3 ## @INTEL_GUC_ACTION_UK_LOG_ENABLE_LOGGING
	.comm	_GUC_LOG_CONTROL_LOGGING_ENABLED,8,3 ## @GUC_LOG_CONTROL_LOGGING_ENABLED
	.comm	_GUC_LOG_CONTROL_VERBOSITY_SHIFT,8,3 ## @GUC_LOG_CONTROL_VERBOSITY_SHIFT
	.comm	_GUC_LOG_CONTROL_DEFAULT_LOGGING,8,3 ## @GUC_LOG_CONTROL_DEFAULT_LOGGING
	.comm	_GUC_LOG_VERBOSITY_MAX,8,3      ## @GUC_LOG_VERBOSITY_MAX
	.no_dead_strip	_guc_action_control_log
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function guc_action_control_log
_guc_action_control_log:                ; @guc_action_control_log
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, _GUC_LOG_CONTROL_LOGGING_ENABLED@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GUC_LOG_CONTROL_LOGGING_ENABLED@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	w1, #0
	csel	x8, xzr, x8, eq
Lloh6:
	adrp	x9, _GUC_LOG_CONTROL_VERBOSITY_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _GUC_LOG_CONTROL_VERBOSITY_SHIFT@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	lsl	x9, x3, x9
	orr	x8, x9, x8
Lloh9:
	adrp	x9, _INTEL_GUC_ACTION_UK_LOG_ENABLE_LOGGING@GOTPAGE
Lloh10:
	ldr	x9, [x9, _INTEL_GUC_ACTION_UK_LOG_ENABLE_LOGGING@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	w2, #0
Lloh12:
	adrp	x10, _GUC_LOG_CONTROL_DEFAULT_LOGGING@GOTPAGE
Lloh13:
	ldr	x10, [x10, _GUC_LOG_CONTROL_DEFAULT_LOGGING@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	csel	x10, xzr, x10, eq
	orr	x8, x8, x10
	stp	x9, x8, [sp, #8]
Lloh15:
	adrp	x8, _GUC_LOG_VERBOSITY_MAX@GOTPAGE
Lloh16:
	ldr	x8, [x8, _GUC_LOG_VERBOSITY_MAX@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x8, x3
	cset	w0, lt
	bl	_GEM_BUG_ON
	add	x0, sp, #8
	bl	_ARRAY_SIZE
	mov	x2, x0
	add	x1, sp, #8
	mov	x0, x19
	bl	_intel_guc_send
	ldr	x8, [sp, #24]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_INTEL_GUC_ACTION_UK_LOG_ENABLE_LOGGING,8,3 ; @INTEL_GUC_ACTION_UK_LOG_ENABLE_LOGGING
	.comm	_GUC_LOG_CONTROL_LOGGING_ENABLED,8,3 ; @GUC_LOG_CONTROL_LOGGING_ENABLED
	.comm	_GUC_LOG_CONTROL_VERBOSITY_SHIFT,8,3 ; @GUC_LOG_CONTROL_VERBOSITY_SHIFT
	.comm	_GUC_LOG_CONTROL_DEFAULT_LOGGING,8,3 ; @GUC_LOG_CONTROL_DEFAULT_LOGGING
	.comm	_GUC_LOG_VERBOSITY_MAX,8,3      ; @GUC_LOG_VERBOSITY_MAX
	.no_dead_strip	_guc_action_control_log
.subsections_via_symbols
