	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_urcv
_handle_urcv:                           ## @handle_urcv
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r12
	xorl	%eax, %eax
	callq	_rmb
	movb	(%r12), %cl
	movl	%r14d, %eax
	sarl	%cl, %eax
	movb	8(%r12), %cl
	sarl	%cl, %r14d
	cmpl	$2, 16(%r12)
	jl	LBB0_12
## %bb.1:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	andl	4(%r12), %eax
	andl	12(%r12), %r14d
	orl	%eax, %r14d
	leaq	20(%r12), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$1, %r15d
	jmp	LBB0_2
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	32(%r12), %rdi
	addq	%r15, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_clear_bit
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%rbx, %rdi
	callq	_wake_up_interruptible
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	movslq	16(%r12), %rax
	cmpq	%rax, %r15
	jge	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	btl	%r15d, %r14d
	jae	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	40(%r12), %rax
	movq	(%rax,%r15,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, 16(%rbx)
	je	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_IPATH_PORT_WAITING_RCV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	8(%rbx), %r13
	movq	%r13, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	jne	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_IPATH_PORT_WAITING_URG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r13, %rsi
	callq	_test_and_clear_bit
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_2 Depth=1
	incl	4(%rbx)
	jmp	LBB0_9
LBB0_11:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_12
## %bb.13:
	movq	24(%r12), %rax
	movl	(%rax), %esi
	movl	20(%r12), %edx
	movq	%r12, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ipath_write_kreg               ## TAILCALL
LBB0_12:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IPATH_PORT_WAITING_RCV,4,2     ## @IPATH_PORT_WAITING_RCV
	.comm	_IPATH_PORT_WAITING_URG,4,2     ## @IPATH_PORT_WAITING_URG
	.no_dead_strip	_handle_urcv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_urcv
_handle_urcv:                           ; @handle_urcv
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x1
	mov	x19, x0
	bl	_rmb
	ldr	w8, [x19, #16]
	cmp	w8, #2
	b.lt	LBB0_13
; %bb.1:
	mov	w23, #0
	ldp	w8, w9, [x19]
	asr	w8, w20, w8
	and	w8, w8, w9
	ldp	w9, w10, [x19, #8]
	asr	w9, w20, w9
	and	w9, w9, w10
	orr	w24, w9, w8
	add	x20, x19, #20
	mov	w25, #1
Lloh0:
	adrp	x26, _IPATH_PORT_WAITING_RCV@GOTPAGE
Lloh1:
	ldr	x26, [x26, _IPATH_PORT_WAITING_RCV@GOTPAGEOFF]
Lloh2:
	adrp	x27, _IPATH_PORT_WAITING_URG@GOTPAGE
Lloh3:
	ldr	x27, [x27, _IPATH_PORT_WAITING_URG@GOTPAGEOFF]
	b	LBB0_5
LBB0_2:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #32]
	add	x0, x25, x8
	mov	x1, x20
	bl	_clear_bit
	mov	w23, #1
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_wake_up_interruptible
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x25, x25, #1
	ldrsw	x8, [x19, #16]
	cmp	x25, x8
	b.ge	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	lsr	w8, w24, w25
	tbz	w8, #0, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x19, #40]
	ldr	x21, [x8, x25, lsl #3]
	cbz	x21, LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x21, #16]
	cbz	x8, LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x26]
	add	x22, x21, #8
	mov	x1, x22
	bl	_test_and_clear_bit
	cbnz	x0, LBB0_2
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x27]
	mov	x1, x22
	bl	_test_and_clear_bit
	cbz	x0, LBB0_4
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x21, #4]
	add	w8, w8, #1
	str	w8, [x21, #4]
	b	LBB0_3
LBB0_11:
	cbz	w23, LBB0_13
; %bb.12:
	ldr	x8, [x19, #24]
	ldr	w1, [x8]
	ldr	w2, [x19, #20]
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_ipath_write_kreg
LBB0_13:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_IPATH_PORT_WAITING_RCV,4,2     ; @IPATH_PORT_WAITING_RCV
	.comm	_IPATH_PORT_WAITING_URG,4,2     ; @IPATH_PORT_WAITING_URG
	.no_dead_strip	_handle_urcv
.subsections_via_symbols
