	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_usrhead                 ## -- Begin function update_usrhead
	.p2align	4, 0x90
_update_usrhead:                        ## @update_usrhead
	.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
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movl	%esi, %ebx
	movq	8(%rdi), %r14
	movl	(%rdi), %r15d
	testl	%r8d, %r8d
	je	LBB0_2
## %bb.1:
	movl	%r9d, %esi
	callq	_adjust_rcv_timeout
LBB0_2:
	testl	%r13d, %r13d
	je	LBB0_4
## %bb.3:
	movq	_RCV_EGR_INDEX_HEAD_HEAD_MASK@GOTPCREL(%rip), %rax
	andl	(%rax), %r12d
	movq	_RCV_EGR_INDEX_HEAD_HEAD_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r12d
	movq	_RCV_EGR_INDEX_HEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%r12d, %ecx
	callq	_write_uctxt_csr
LBB0_4:
	movq	_rcv_intr_count@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_RCV_HDR_HEAD_COUNTER_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %eax
	movq	_RCV_HDR_HEAD_HEAD_MASK@GOTPCREL(%rip), %rcx
	andl	(%rcx), %ebx
	movq	_RCV_HDR_HEAD_HEAD_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	shll	%cl, %ebx
	orl	%eax, %ebx
	movq	_RCV_HDR_HEAD@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%r15d, %esi
	movl	%ebx, %ecx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_write_uctxt_csr                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RCV_EGR_INDEX_HEAD_HEAD_MASK,4,2 ## @RCV_EGR_INDEX_HEAD_HEAD_MASK
	.comm	_RCV_EGR_INDEX_HEAD_HEAD_SHIFT,4,2 ## @RCV_EGR_INDEX_HEAD_HEAD_SHIFT
	.comm	_RCV_EGR_INDEX_HEAD,4,2         ## @RCV_EGR_INDEX_HEAD
	.comm	_rcv_intr_count,8,3             ## @rcv_intr_count
	.comm	_RCV_HDR_HEAD_COUNTER_SHIFT,4,2 ## @RCV_HDR_HEAD_COUNTER_SHIFT
	.comm	_RCV_HDR_HEAD_HEAD_MASK,4,2     ## @RCV_HDR_HEAD_HEAD_MASK
	.comm	_RCV_HDR_HEAD_HEAD_SHIFT,4,2    ## @RCV_HDR_HEAD_HEAD_SHIFT
	.comm	_RCV_HDR_HEAD,4,2               ## @RCV_HDR_HEAD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_update_usrhead                 ; -- Begin function update_usrhead
	.p2align	2
_update_usrhead:                        ; @update_usrhead
	.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	x22, x3
	mov	x23, x2
	mov	x21, x1
	ldr	x19, [x0, #8]
	ldr	w20, [x0]
	cbz	w4, LBB0_2
; %bb.1:
	mov	x1, x5
	bl	_adjust_rcv_timeout
LBB0_2:
	cbz	w23, LBB0_4
; %bb.3:
Lloh0:
	adrp	x8, _RCV_EGR_INDEX_HEAD_HEAD_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RCV_EGR_INDEX_HEAD_HEAD_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _RCV_EGR_INDEX_HEAD_HEAD_SHIFT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RCV_EGR_INDEX_HEAD_HEAD_SHIFT@GOTPAGEOFF]
	and	w8, w8, w22
Lloh5:
	ldr	w9, [x9]
	lsl	w3, w8, w9
Lloh6:
	adrp	x8, _RCV_EGR_INDEX_HEAD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _RCV_EGR_INDEX_HEAD@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_write_uctxt_csr
LBB0_4:
Lloh9:
	adrp	x8, _rcv_intr_count@GOTPAGE
Lloh10:
	ldr	x8, [x8, _rcv_intr_count@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _RCV_HDR_HEAD_COUNTER_SHIFT@GOTPAGE
Lloh13:
	ldr	x9, [x9, _RCV_HDR_HEAD_COUNTER_SHIFT@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	lsl	w8, w8, w9
Lloh15:
	adrp	x9, _RCV_HDR_HEAD_HEAD_MASK@GOTPAGE
Lloh16:
	ldr	x9, [x9, _RCV_HDR_HEAD_HEAD_MASK@GOTPAGEOFF]
Lloh17:
	ldr	w9, [x9]
	and	w9, w9, w21
Lloh18:
	adrp	x10, _RCV_HDR_HEAD_HEAD_SHIFT@GOTPAGE
Lloh19:
	ldr	x10, [x10, _RCV_HDR_HEAD_HEAD_SHIFT@GOTPAGEOFF]
Lloh20:
	ldr	w10, [x10]
	lsl	w9, w9, w10
Lloh21:
	adrp	x10, _RCV_HDR_HEAD@GOTPAGE
Lloh22:
	ldr	x10, [x10, _RCV_HDR_HEAD@GOTPAGEOFF]
	orr	w3, w9, w8
Lloh23:
	ldr	w2, [x10]
	mov	x0, x19
	mov	x1, x20
	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
	b	_write_uctxt_csr
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_RCV_EGR_INDEX_HEAD_HEAD_MASK,4,2 ; @RCV_EGR_INDEX_HEAD_HEAD_MASK
	.comm	_RCV_EGR_INDEX_HEAD_HEAD_SHIFT,4,2 ; @RCV_EGR_INDEX_HEAD_HEAD_SHIFT
	.comm	_RCV_EGR_INDEX_HEAD,4,2         ; @RCV_EGR_INDEX_HEAD
	.comm	_rcv_intr_count,8,3             ; @rcv_intr_count
	.comm	_RCV_HDR_HEAD_COUNTER_SHIFT,4,2 ; @RCV_HDR_HEAD_COUNTER_SHIFT
	.comm	_RCV_HDR_HEAD_HEAD_MASK,4,2     ; @RCV_HDR_HEAD_HEAD_MASK
	.comm	_RCV_HDR_HEAD_HEAD_SHIFT,4,2    ; @RCV_HDR_HEAD_HEAD_SHIFT
	.comm	_RCV_HDR_HEAD,4,2               ; @RCV_HDR_HEAD
.subsections_via_symbols
