	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qib_update_7322_usrhead
_qib_update_7322_usrhead:               ## @qib_update_7322_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movl	%edx, %r12d
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	_IBA7322_HDRHEAD_PKTINT_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	%esi, %eax
	sarl	%cl, %eax
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	movl	%r8d, %esi
	callq	_adjust_rcv_timeout
LBB0_2:
	testl	%r12d, %r12d
	je	LBB0_4
## %bb.3:
	movl	(%rbx), %ecx
	movl	4(%rbx), %edi
	movq	_ur_rcvegrindexhead@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r15d, %edx
	callq	_qib_write_ureg
LBB0_4:
	movl	(%rbx), %ecx
	movl	4(%rbx), %edi
	movq	_ur_rcvhdrhead@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	%r14d, %edx
	callq	_qib_write_ureg
	movl	(%rbx), %ecx
	movl	4(%rbx), %edi
	movl	(%r15), %esi
	movl	%r14d, %edx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_qib_write_ureg                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IBA7322_HDRHEAD_PKTINT_SHIFT,4,2 ## @IBA7322_HDRHEAD_PKTINT_SHIFT
	.comm	_ur_rcvegrindexhead,4,2         ## @ur_rcvegrindexhead
	.comm	_ur_rcvhdrhead,4,2              ## @ur_rcvhdrhead
	.no_dead_strip	_qib_update_7322_usrhead
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qib_update_7322_usrhead
_qib_update_7322_usrhead:               ; @qib_update_7322_usrhead
	.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	x21, x3
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _IBA7322_HDRHEAD_PKTINT_SHIFT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IBA7322_HDRHEAD_PKTINT_SHIFT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	asr	w8, w1, w8
	cbz	w8, LBB0_2
; %bb.1:
	mov	x0, x20
	mov	x1, x4
	bl	_adjust_rcv_timeout
LBB0_2:
	cbz	w22, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _ur_rcvegrindexhead@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ur_rcvegrindexhead@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldp	w3, w0, [x20]
	mov	x2, x21
	bl	_qib_write_ureg
LBB0_4:
Lloh6:
	adrp	x21, _ur_rcvhdrhead@GOTPAGE
Lloh7:
	ldr	x21, [x21, _ur_rcvhdrhead@GOTPAGEOFF]
	ldr	w1, [x21]
	ldp	w3, w0, [x20]
	mov	x2, x19
	bl	_qib_write_ureg
	ldr	w1, [x21]
	ldp	w3, w0, [x20]
	mov	x2, x19
	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
	b	_qib_write_ureg
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IBA7322_HDRHEAD_PKTINT_SHIFT,4,2 ; @IBA7322_HDRHEAD_PKTINT_SHIFT
	.comm	_ur_rcvegrindexhead,4,2         ; @ur_rcvegrindexhead
	.comm	_ur_rcvhdrhead,4,2              ; @ur_rcvhdrhead
	.no_dead_strip	_qib_update_7322_usrhead
.subsections_via_symbols
