	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intr_describe                  ## -- Begin function intr_describe
	.p2align	4, 0x90
_intr_describe:                         ## @intr_describe
	.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
	testl	%edi, %edi
	js	LBB0_2
## %bb.1:
	movl	%edi, %ebx
	movq	_IV_MAX@GOTPCREL(%rip), %rax
	cmpl	%edi, (%rax)
	jle	LBB0_2
## %bb.3:
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	_intr_table_lock@GOTPCREL(%rip), %rdi
	callq	_sx_xlock
	movq	_intr_vectors@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	testq	%r12, %r12
	je	LBB0_4
## %bb.5:
	movl	%ebx, %r13d
	movq	(%r12,%r13,8), %rdi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_intr_event_describe_handler
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movl	%eax, %r14d
	jmp	LBB0_8
LBB0_4:
	movq	_intr_table_lock@GOTPCREL(%rip), %rdi
	callq	_sx_xunlock
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	jmp	LBB0_9
LBB0_7:
	movq	(%r12,%r13,8), %rax
	movl	(%rax), %esi
	xorl	%r14d, %r14d
	movl	%ebx, %edi
	xorl	%edx, %edx
	callq	_intrcnt_updatename
LBB0_8:
	movq	_intr_table_lock@GOTPCREL(%rip), %rdi
	callq	_sx_xunlock
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IV_MAX,4,2                     ## @IV_MAX
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_intr_table_lock,4,2            ## @intr_table_lock
	.comm	_intr_vectors,8,3               ## @intr_vectors
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intr_describe                  ; -- Begin function intr_describe
	.p2align	2
_intr_describe:                         ; @intr_describe
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	tbnz	w0, #31, LBB0_7
; %bb.1:
	mov	x19, x0
Lloh0:
	adrp	x8, _IV_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IV_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	b.le	LBB0_7
; %bb.2:
	mov	x20, x2
	mov	x21, x1
Lloh3:
	adrp	x0, _intr_table_lock@GOTPAGE
Lloh4:
	ldr	x0, [x0, _intr_table_lock@GOTPAGEOFF]
	bl	_sx_xlock
Lloh5:
	adrp	x8, _intr_vectors@GOTPAGE
Lloh6:
	ldr	x8, [x8, _intr_vectors@GOTPAGEOFF]
Lloh7:
	ldr	x22, [x8]
	cbz	x22, LBB0_6
; %bb.3:
	ldr	x0, [x22, w19, uxtw #3]
	mov	x1, x21
	mov	x2, x20
	bl	_intr_event_describe_handler
	mov	x20, x0
	cbnz	w0, LBB0_5
; %bb.4:
	mov	w8, w19
	ldr	x8, [x22, x8, lsl #3]
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #0
	bl	_intrcnt_updatename
LBB0_5:
Lloh8:
	adrp	x0, _intr_table_lock@GOTPAGE
Lloh9:
	ldr	x0, [x0, _intr_table_lock@GOTPAGEOFF]
	bl	_sx_xunlock
	b	LBB0_8
LBB0_6:
Lloh10:
	adrp	x0, _intr_table_lock@GOTPAGE
Lloh11:
	ldr	x0, [x0, _intr_table_lock@GOTPAGEOFF]
	bl	_sx_xunlock
LBB0_7:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w20, [x8]
LBB0_8:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_IV_MAX,4,2                     ; @IV_MAX
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_intr_table_lock,4,2            ; @intr_table_lock
	.comm	_intr_vectors,8,3               ; @intr_vectors
.subsections_via_symbols
