	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hpsb_packet_sent               ## -- Begin function hpsb_packet_sent
	.p2align	4, 0x90
_hpsb_packet_sent:                      ## @hpsb_packet_sent
	.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	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_pending_packets_lock@GOTPCREL(%rip), %rdi
	callq	_spin_lock_irqsave
	movl	%r15d, (%rbx)
	cmpq	$0, 40(%rbx)
	jne	LBB0_5
## %bb.1:
	movq	8(%rbx), %rax
	movq	_hpsb_complete@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_2
LBB0_5:
	movq	_pending_packets_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_irqrestore
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hpsb_free_packet               ## TAILCALL
LBB0_2:
	leaq	32(%rbx), %rdi
	callq	_atomic_dec
	movq	_ACK_PENDING@GOTPCREL(%rip), %rax
	cmpl	%r15d, (%rax)
	jne	LBB0_6
## %bb.3:
	cmpl	$0, 28(%rbx)
	je	LBB0_6
## %bb.4:
	movq	_hpsb_pending@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 8(%rbx)
	movq	_jiffies@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	%rax, 16(%rbx)
	movq	_pending_packets_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_irqrestore
	movq	(%r14), %rsi
	addq	$8, %r14
	addq	(%r15), %rsi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mod_timer                      ## TAILCALL
LBB0_6:
	movq	(%r12), %rax
	movq	%rax, 8(%rbx)
	leaq	24(%rbx), %rdi
	callq	_list_del_init
	movq	_pending_packets_lock@GOTPCREL(%rip), %rdi
	callq	_spin_unlock_irqrestore
	movq	%rbx, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_queue_packet_complete          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_pending_packets_lock,4,2       ## @pending_packets_lock
	.comm	_hpsb_complete,8,3              ## @hpsb_complete
	.comm	_ACK_PENDING,4,2                ## @ACK_PENDING
	.comm	_hpsb_pending,8,3               ## @hpsb_pending
	.comm	_jiffies,8,3                    ## @jiffies
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hpsb_packet_sent               ; -- Begin function hpsb_packet_sent
	.p2align	2
_hpsb_packet_sent:                      ; @hpsb_packet_sent
	.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, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, _pending_packets_lock@GOTPAGE
Lloh1:
	ldr	x0, [x0, _pending_packets_lock@GOTPAGEOFF]
	bl	_spin_lock_irqsave
	str	w21, [x19]
	ldr	x8, [x19, #40]
	cbnz	x8, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
Lloh2:
	adrp	x22, _hpsb_complete@GOTPAGE
Lloh3:
	ldr	x22, [x22, _hpsb_complete@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_2:
Lloh4:
	adrp	x0, _pending_packets_lock@GOTPAGE
Lloh5:
	ldr	x0, [x0, _pending_packets_lock@GOTPAGEOFF]
	bl	_spin_unlock_irqrestore
	mov	x0, 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	_hpsb_free_packet
LBB0_3:
	add	x0, x19, #32
	bl	_atomic_dec
Lloh6:
	adrp	x8, _ACK_PENDING@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ACK_PENDING@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_6
; %bb.4:
	ldr	w8, [x19, #28]
	cbz	w8, LBB0_6
; %bb.5:
Lloh9:
	adrp	x8, _hpsb_pending@GOTPAGE
Lloh10:
	ldr	x8, [x8, _hpsb_pending@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x21, _jiffies@GOTPAGE
Lloh13:
	ldr	x21, [x21, _jiffies@GOTPAGEOFF]
	ldr	x9, [x21]
	stp	x8, x9, [x19, #8]
Lloh14:
	adrp	x0, _pending_packets_lock@GOTPAGE
Lloh15:
	ldr	x0, [x0, _pending_packets_lock@GOTPAGEOFF]
	bl	_spin_unlock_irqrestore
	ldr	x8, [x21]
	ldr	x9, [x20], #8
	add	x1, x9, x8
	mov	x0, x20
	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	_mod_timer
LBB0_6:
	ldr	x8, [x22]
	str	x8, [x19, #8]
	add	x0, x19, #24
	bl	_list_del_init
Lloh16:
	adrp	x0, _pending_packets_lock@GOTPAGE
Lloh17:
	ldr	x0, [x0, _pending_packets_lock@GOTPAGEOFF]
	bl	_spin_unlock_irqrestore
	mov	x0, 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	_queue_packet_complete
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_pending_packets_lock,4,2       ; @pending_packets_lock
	.comm	_hpsb_complete,8,3              ; @hpsb_complete
	.comm	_ACK_PENDING,4,2                ; @ACK_PENDING
	.comm	_hpsb_pending,8,3               ; @hpsb_pending
	.comm	_jiffies,8,3                    ; @jiffies
.subsections_via_symbols
