	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vlapic_pending_intr            ## -- Begin function vlapic_pending_intr
	.p2align	4, 0x90
_vlapic_pending_intr:                   ## @vlapic_pending_intr
	.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	%rsi, %r14
	movq	%rdi, %r12
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_1
## %bb.22:
	movq	%r12, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_1:
	movq	8(%r12), %r13
	leaq	116(%r13), %rdi
	callq	_atomic_load_acq_int
	movl	%eax, %edi
	callq	_fls
	testl	%eax, %eax
	je	LBB0_6
## %bb.2:
	movl	$223, %r15d
	jmp	LBB0_3
LBB0_6:
	leaq	4(%r13), %r15
	leaq	96(%r15), %rdi
	callq	_atomic_load_acq_int
	movl	%eax, %edi
	callq	_fls
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:
	movl	$191, %r15d
	jmp	LBB0_3
LBB0_8:
	leaq	80(%r15), %rdi
	callq	_atomic_load_acq_int
	movl	%eax, %edi
	callq	_fls
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movl	$159, %r15d
	jmp	LBB0_3
LBB0_10:
	leaq	64(%r15), %rdi
	callq	_atomic_load_acq_int
	movl	%eax, %edi
	callq	_fls
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	movl	$127, %r15d
	jmp	LBB0_3
LBB0_12:
	leaq	48(%r15), %rdi
	callq	_atomic_load_acq_int
	movl	%eax, %edi
	callq	_fls
	testl	%eax, %eax
	je	LBB0_14
## %bb.13:
	movl	$95, %r15d
	jmp	LBB0_3
LBB0_14:
	leaq	32(%r15), %rdi
	callq	_atomic_load_acq_int
	movl	%eax, %edi
	callq	_fls
	testl	%eax, %eax
	je	LBB0_16
## %bb.15:
	movl	$63, %r15d
	jmp	LBB0_3
LBB0_16:
	leaq	16(%r15), %rdi
	callq	_atomic_load_acq_int
	movl	%eax, %edi
	callq	_fls
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:
	movl	$31, %r15d
	jmp	LBB0_3
LBB0_18:
	movq	%r15, %rdi
	callq	_atomic_load_acq_int
	movl	%eax, %edi
	callq	_fls
	testl	%eax, %eax
	je	LBB0_20
## %bb.19:
	movl	$-1, %r15d
LBB0_3:
	addl	%eax, %r15d
	movl	%r15d, %edi
	callq	_PRIO
	movq	%rax, %rbx
	movl	(%r13), %edi
	callq	_PRIO
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	%rcx, %rbx
	jle	LBB0_21
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	%r15d, %edx
	callq	_VLAPIC_CTR1
	movl	$1, %eax
	testq	%r14, %r14
	je	LBB0_21
## %bb.5:
	movl	%r15d, (%r14)
LBB0_21:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_20:
	xorl	%eax, %eax
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"pending intr %d"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vlapic_pending_intr            ; -- Begin function vlapic_pending_intr
	.p2align	2
_vlapic_pending_intr:                   ; @vlapic_pending_intr
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x1
	mov	x20, x0
	ldr	x2, [x0]
	cbz	x2, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	br	x2
LBB0_2:
	ldr	x23, [x20, #8]
	add	x0, x23, #116
	bl	_atomic_load_acq_int
	bl	_fls
	cbz	w0, LBB0_4
; %bb.3:
	mov	w8, #223
	b	LBB0_18
LBB0_4:
	add	x21, x23, #4
	add	x0, x21, #96
	bl	_atomic_load_acq_int
	bl	_fls
	cbz	w0, LBB0_6
; %bb.5:
	mov	w8, #191
	b	LBB0_18
LBB0_6:
	add	x0, x21, #80
	bl	_atomic_load_acq_int
	bl	_fls
	cbz	w0, LBB0_8
; %bb.7:
	mov	w8, #159
	b	LBB0_18
LBB0_8:
	add	x0, x21, #64
	bl	_atomic_load_acq_int
	bl	_fls
	cbz	w0, LBB0_10
; %bb.9:
	mov	w8, #127
	b	LBB0_18
LBB0_10:
	add	x0, x21, #48
	bl	_atomic_load_acq_int
	bl	_fls
	cbz	w0, LBB0_12
; %bb.11:
	mov	w8, #95
	b	LBB0_18
LBB0_12:
	add	x0, x21, #32
	bl	_atomic_load_acq_int
	bl	_fls
	cbz	w0, LBB0_14
; %bb.13:
	mov	w8, #63
	b	LBB0_18
LBB0_14:
	add	x0, x21, #16
	bl	_atomic_load_acq_int
	bl	_fls
	cbz	w0, LBB0_16
; %bb.15:
	mov	w8, #31
	b	LBB0_18
LBB0_16:
	mov	x0, x21
	bl	_atomic_load_acq_int
	bl	_fls
	cbz	w0, LBB0_23
; %bb.17:
	mov	w8, #-1
LBB0_18:
	add	w21, w8, w0
	mov	x0, x21
	bl	_PRIO
	mov	x22, x0
	ldr	w0, [x23]
	bl	_PRIO
	cmp	x22, x0
	b.le	LBB0_22
; %bb.19:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	mov	x2, x21
	bl	_VLAPIC_CTR1
	cbz	x19, LBB0_21
; %bb.20:
	str	w21, [x19]
LBB0_21:
	mov	w0, #1
	b	LBB0_23
LBB0_22:
	mov	w0, #0
LBB0_23:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"pending intr %d"

.subsections_via_symbols
