	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hpsb_iso_recv_start            ## -- Begin function hpsb_iso_recv_start
	.p2align	4, 0x90
_hpsb_iso_recv_start:                   ## @hpsb_iso_recv_start
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	(%rdi), %rdi
	movq	_HPSB_ISO_RECV@GOTPCREL(%rip), %rbx
	movl	$-1, %eax
	cmpq	(%rbx), %rdi
	jne	LBB0_8
## %bb.1:
	movq	_HPSB_ISO_DRIVER_STARTED@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	xorl	%eax, %eax
	testl	%edi, 8(%r15)
	jne	LBB0_8
## %bb.2:
	movl	$-1, %eax
	cmpl	$-1, %esi
	jl	LBB0_6
## %bb.3:
	cmpl	$8000, %esi                     ## imm = 0x1F40
	jl	LBB0_5
## %bb.4:
	movl	%esi, %eax
	imulq	$274877907, %rax, %rax          ## imm = 0x10624DD3
	shrq	$41, %rax
	imull	$8000, %eax, %eax               ## imm = 0x1F40
	subl	%eax, %esi
LBB0_5:
	movl	%esi, %eax
LBB0_6:
	movl	%eax, -44(%rbp)
	testl	%edx, %edx
	movl	$15, %eax
	cmovnsl	%edx, %eax
	movl	%eax, -40(%rbp)
	movl	%ecx, -36(%rbp)
	movq	16(%r15), %rax
	movq	(%rax), %rax
	movq	_RECV_START@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	leaq	-44(%rbp), %rdx
	movq	%r15, %rdi
	callq	*(%rax)
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movl	(%r14), %eax
	orl	%eax, 8(%r15)
	xorl	%eax, %eax
LBB0_8:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_10
## %bb.9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HPSB_ISO_RECV,8,3              ## @HPSB_ISO_RECV
	.comm	_HPSB_ISO_DRIVER_STARTED,4,2    ## @HPSB_ISO_DRIVER_STARTED
	.comm	_RECV_START,4,2                 ## @RECV_START
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hpsb_iso_recv_start            ; -- Begin function hpsb_iso_recv_start
	.p2align	2
_hpsb_iso_recv_start:                   ; @hpsb_iso_recv_start
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	x8, [x0]
Lloh3:
	adrp	x9, _HPSB_ISO_RECV@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HPSB_ISO_RECV@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	mov	x19, x0
	ldr	w8, [x0, #8]
Lloh6:
	adrp	x20, _HPSB_ISO_DRIVER_STARTED@GOTPAGE
Lloh7:
	ldr	x20, [x20, _HPSB_ISO_DRIVER_STARTED@GOTPAGEOFF]
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_6
; %bb.2:
	mov	w0, #0
	b	LBB0_4
LBB0_3:
	mov	w0, #-1
LBB0_4:
	ldr	x8, [sp, #24]
Lloh8:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh9:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_6:
	mov	w8, #-1
	mov	w9, #8000
	mov	w10, #19923
	movk	w10, #4194, lsl #16
	umull	x10, w1, w10
	lsr	x10, x10, #41
	msub	w10, w10, w9, w1
	cmp	w1, w9
	csel	w9, w1, w10, lt
	cmn	w1, #1
	csel	w8, w8, w9, lt
	mov	w9, #15
	cmp	w2, #0
	csel	w9, w9, w2, lt
	stp	w8, w9, [sp, #12]
	str	w3, [sp, #20]
	ldr	x8, [x19, #16]
	ldr	x8, [x8]
	ldr	x8, [x8]
Lloh11:
	adrp	x9, _RECV_START@GOTPAGE
Lloh12:
	ldr	x9, [x9, _RECV_START@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x9]
	add	x2, sp, #12
	mov	x0, x19
	blr	x8
	cbnz	w0, LBB0_4
; %bb.7:
	ldr	w8, [x20]
	ldr	w9, [x19, #8]
	orr	w8, w9, w8
	str	w8, [x19, #8]
	b	LBB0_4
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_HPSB_ISO_RECV,8,3              ; @HPSB_ISO_RECV
	.comm	_HPSB_ISO_DRIVER_STARTED,4,2    ; @HPSB_ISO_DRIVER_STARTED
	.comm	_RECV_START,4,2                 ; @RECV_START
.subsections_via_symbols
