	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hpsb_iso_recv_release_packets  ## -- Begin function hpsb_iso_recv_release_packets
	.p2align	4, 0x90
_hpsb_iso_recv_release_packets:         ## @hpsb_iso_recv_release_packets
	.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
	movq	(%rdi), %rax
	movq	_HPSB_ISO_RECV@GOTPCREL(%rip), %rcx
	movl	$-1, %ebx
	cmpq	(%rcx), %rax
	jne	LBB0_14
## %bb.1:
	movl	%esi, %r15d
	movq	%rdi, %r13
	leaq	40(%rdi), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	testl	%r15d, %r15d
	je	LBB0_12
## %bb.2:
	movq	_RECV_RELEASE@GOTPCREL(%rip), %r12
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	decl	%r15d
	je	LBB0_12
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rdx
	movq	48(%r13), %rax
	movq	(%rax), %rax
	movl	(%r12), %esi
	shlq	$2, %rdx
	addq	56(%r13), %rdx
	movq	%r13, %rdi
	callq	*(%rax)
	testl	%eax, %eax
	jne	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r13), %rax
	incq	%rax
	movslq	16(%r13), %rcx
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rdx, 8(%r13)
	decq	24(%r13)
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	32(%r13), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, -48(%rbp)
	movq	48(%r13), %rax
	movq	(%rax), %rax
	movl	(%r12), %esi
	movq	%r13, %rdi
	leaq	-48(%rbp), %rdx
	callq	*(%rax)
	movq	$0, 32(%r13)
	jmp	LBB0_11
LBB0_12:
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_4:
	movl	%eax, %ebx
LBB0_13:
	movq	%r14, %rdi
	callq	_spin_unlock_irqrestore
LBB0_14:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HPSB_ISO_RECV,8,3              ## @HPSB_ISO_RECV
	.comm	_RECV_RELEASE,4,2               ## @RECV_RELEASE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hpsb_iso_recv_release_packets  ; -- Begin function hpsb_iso_recv_release_packets
	.p2align	2
_hpsb_iso_recv_release_packets:         ; @hpsb_iso_recv_release_packets
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _HPSB_ISO_RECV@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HPSB_ISO_RECV@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.1:
	mov	x20, x1
	mov	x21, x0
	add	x19, x0, #40
	mov	x0, x19
	bl	_spin_lock_irqsave
	cbz	w20, LBB0_9
; %bb.2:
Lloh3:
	adrp	x23, _RECV_RELEASE@GOTPAGE
Lloh4:
	ldr	x23, [x23, _RECV_RELEASE@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	subs	w20, w20, #1
	b.eq	LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	x8, x9, [x21, #48]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w1, [x23]
	ldr	x10, [x21, #8]
	add	x2, x9, x10, lsl #2
	mov	x0, x21
	blr	x8
	cbnz	w0, LBB0_10
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #8]
	add	x8, x8, #1
	ldrsw	x9, [x21, #16]
	udiv	x10, x8, x9
	msub	x8, x10, x9, x8
	str	x8, [x21, #8]
	ldr	x8, [x21, #24]
	subs	x8, x8, #1
	str	x8, [x21, #24]
	b.ne	LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21, #32]
	cbz	x8, LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x8, [sp, #8]
	ldr	x8, [x21, #48]
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	w1, [x23]
	add	x2, sp, #8
	mov	x0, x21
	blr	x8
	str	xzr, [x21, #32]
	b	LBB0_3
LBB0_8:
	mov	w22, #-1
	b	LBB0_12
LBB0_9:
	mov	w22, #0
	b	LBB0_11
LBB0_10:
	mov	x22, x0
LBB0_11:
	mov	x0, x19
	bl	_spin_unlock_irqrestore
LBB0_12:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_HPSB_ISO_RECV,8,3              ; @HPSB_ISO_RECV
	.comm	_RECV_RELEASE,4,2               ; @RECV_RELEASE
.subsections_via_symbols
