	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qib_poll_urgent
_qib_poll_urgent:                       ## @qib_poll_urgent
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rax
	movq	%rdi, %rbx
	movq	24(%rdi), %r14
	leaq	20(%rdi), %rsi
	movq	%rax, %rdi
	callq	_poll_wait
	movq	%r14, %rdi
	callq	_spin_lock_irq
	movq	(%rbx), %rax
	cmpq	8(%rbx), %rax
	jne	LBB0_1
## %bb.2:
	movq	_QIB_CTXT_WAITING_URG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	addq	$16, %rbx
	movq	%rbx, %rsi
	callq	_set_bit
	xorl	%r15d, %r15d
	jmp	LBB0_3
LBB0_1:
	movq	_EPOLLIN@GOTPCREL(%rip), %rcx
	movq	_EPOLLRDNORM@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r15d
	orl	(%rcx), %r15d
	movq	%rax, 8(%rbx)
LBB0_3:
	movq	%r14, %rdi
	callq	_spin_unlock_irq
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EPOLLIN,4,2                    ## @EPOLLIN
	.comm	_EPOLLRDNORM,4,2                ## @EPOLLRDNORM
	.comm	_QIB_CTXT_WAITING_URG,4,2       ## @QIB_CTXT_WAITING_URG
	.no_dead_strip	_qib_poll_urgent
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qib_poll_urgent
_qib_poll_urgent:                       ; @qib_poll_urgent
	.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
	mov	x8, x1
	mov	x20, x0
	ldr	x19, [x0, #24]
	add	x1, x0, #20
	mov	x0, x8
	bl	_poll_wait
	mov	x0, x19
	bl	_spin_lock_irq
	ldp	x8, x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _QIB_CTXT_WAITING_URG@GOTPAGE
Lloh1:
	ldr	x8, [x8, _QIB_CTXT_WAITING_URG@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	add	x1, x20, #16
	bl	_set_bit
	mov	w21, #0
	b	LBB0_3
LBB0_2:
Lloh3:
	adrp	x9, _EPOLLIN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EPOLLIN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _EPOLLRDNORM@GOTPAGE
Lloh7:
	ldr	x10, [x10, _EPOLLRDNORM@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w21, w10, w9
	str	x8, [x20, #8]
LBB0_3:
	mov	x0, x19
	bl	_spin_unlock_irq
	mov	x0, x21
	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	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EPOLLIN,4,2                    ; @EPOLLIN
	.comm	_EPOLLRDNORM,4,2                ; @EPOLLRDNORM
	.comm	_QIB_CTXT_WAITING_URG,4,2       ; @QIB_CTXT_WAITING_URG
	.no_dead_strip	_qib_poll_urgent
.subsections_via_symbols
