	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hpsb_iso_xmit_start            ## -- Begin function hpsb_iso_xmit_start
	.p2align	4, 0x90
_hpsb_iso_xmit_start:                   ## @hpsb_iso_xmit_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rcx
	movq	_HPSB_ISO_XMIT@GOTPCREL(%rip), %r8
	movl	$-1, %eax
	cmpq	(%r8), %rcx
	jne	LBB0_10
## %bb.1:
	movq	_HPSB_ISO_DRIVER_STARTED@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%ecx, 8(%rdi)
	je	LBB0_2
LBB0_10:
	popq	%rbp
	retq
LBB0_2:
	movl	$-1, %r8d
	cmpl	$-1, %esi
	jl	LBB0_6
## %bb.3:
	cmpl	$8000, %esi                     ## imm = 0x1F40
	jl	LBB0_5
## %bb.4:
	movl	%esi, %ecx
	imulq	$274877907, %rcx, %rcx          ## imm = 0x10624DD3
	shrq	$41, %rcx
	imull	$8000, %ecx, %ecx               ## imm = 0x1F40
	subl	%ecx, %esi
LBB0_5:
	movl	%esi, %r8d
LBB0_6:
	movl	%r8d, 12(%rdi)
	testl	%edx, %edx
	js	LBB0_7
## %bb.8:
	movl	$1, %ecx
	cmovel	%ecx, %edx
	movl	16(%rdi), %esi
	leal	-1(%rsi), %ecx
	jmp	LBB0_9
LBB0_7:
	movl	16(%rdi), %esi
	leal	-1(%rsi), %ecx
	movl	%ecx, %edx
LBB0_9:
	cmpl	%esi, %edx
	cmovll	%edx, %ecx
	movl	%ecx, 20(%rdi)
	movl	%r8d, 24(%rdi)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HPSB_ISO_XMIT,8,3              ## @HPSB_ISO_XMIT
	.comm	_HPSB_ISO_DRIVER_STARTED,4,2    ## @HPSB_ISO_DRIVER_STARTED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hpsb_iso_xmit_start            ; -- Begin function hpsb_iso_xmit_start
	.p2align	2
_hpsb_iso_xmit_start:                   ; @hpsb_iso_xmit_start
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _HPSB_ISO_XMIT@GOTPAGE
Lloh1:
	ldr	x9, [x9, _HPSB_ISO_XMIT@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	w8, [x0, #8]
Lloh3:
	adrp	x9, _HPSB_ISO_DRIVER_STARTED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HPSB_ISO_DRIVER_STARTED@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.2:
	mov	w0, #0
	ret
LBB0_3:
	mov	w0, #-1
	ret
LBB0_4:
	cmn	w1, #1
	b.ge	LBB0_7
; %bb.5:
	mov	w9, #-1
	str	w9, [x0, #12]
	tbnz	w2, #31, LBB0_8
LBB0_6:
	cmp	w2, #0
	csinc	w12, w2, wzr, ne
	ldr	w10, [x0, #16]
	sub	w11, w10, #1
	b	LBB0_9
LBB0_7:
	mov	w8, #8000
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	umull	x9, w1, w9
	lsr	x9, x9, #41
	msub	w9, w9, w8, w1
	cmp	w1, w8
	csel	w9, w1, w9, lt
	str	w9, [x0, #12]
	tbz	w2, #31, LBB0_6
LBB0_8:
	ldr	w10, [x0, #16]
	sub	w11, w10, #1
	mov	x12, x11
LBB0_9:
	mov	w8, #0
	cmp	w12, w10
	csel	w10, w12, w11, lt
	stp	w10, w9, [x0, #20]
	mov	x0, x8
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_HPSB_ISO_XMIT,8,3              ; @HPSB_ISO_XMIT
	.comm	_HPSB_ISO_DRIVER_STARTED,4,2    ; @HPSB_ISO_DRIVER_STARTED
.subsections_via_symbols
