	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_trace_irq_vector_unregfunc     ## -- Begin function trace_irq_vector_unregfunc
	.p2align	4, 0x90
_trace_irq_vector_unregfunc:            ## @trace_irq_vector_unregfunc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_irq_vector_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	_trace_irq_vector_refcount@GOTPCREL(%rip), %rax
	decl	(%rax)
	jne	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	callq	_set_trace_idt_ctr
	movq	_switch_idt@GOTPCREL(%rip), %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_smp_call_function
	xorl	%edi, %edi
	callq	_switch_idt
LBB0_2:
	movq	_irq_vector_mutex@GOTPCREL(%rip), %rdi
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_irq_vector_mutex,4,2           ## @irq_vector_mutex
	.comm	_trace_irq_vector_refcount,4,2  ## @trace_irq_vector_refcount
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_trace_irq_vector_unregfunc     ; -- Begin function trace_irq_vector_unregfunc
	.p2align	2
_trace_irq_vector_unregfunc:            ; @trace_irq_vector_unregfunc
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x0, _irq_vector_mutex@GOTPAGE
Lloh1:
	ldr	x0, [x0, _irq_vector_mutex@GOTPAGEOFF]
	bl	_mutex_lock
Lloh2:
	adrp	x8, _trace_irq_vector_refcount@GOTPAGE
Lloh3:
	ldr	x8, [x8, _trace_irq_vector_refcount@GOTPAGEOFF]
	ldr	w9, [x8]
	subs	w9, w9, #1
	str	w9, [x8]
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	bl	_set_trace_idt_ctr
Lloh4:
	adrp	x0, _switch_idt@GOTPAGE
Lloh5:
	ldr	x0, [x0, _switch_idt@GOTPAGEOFF]
	mov	x1, #0
	mov	w2, #0
	bl	_smp_call_function
	mov	x0, #0
	bl	_switch_idt
LBB0_2:
Lloh6:
	adrp	x0, _irq_vector_mutex@GOTPAGE
Lloh7:
	ldr	x0, [x0, _irq_vector_mutex@GOTPAGEOFF]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_mutex_unlock
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_irq_vector_mutex,4,2           ; @irq_vector_mutex
	.comm	_trace_irq_vector_refcount,4,2  ; @trace_irq_vector_refcount
.subsections_via_symbols
