	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ohci_transmit
_ohci_transmit:                         ## @ohci_transmit
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r14
	movq	(%rsi), %rdx
	cmpq	(%r14), %rdx
	jle	LBB0_2
## %bb.1:
	movq	_KERN_ERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_PRINT
	movq	_EOVERFLOW@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_8
LBB0_2:
	movq	%rsi, %rbx
	movq	8(%rsi), %rax
	movq	_hpsb_raw@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_6
## %bb.3:
	movl	16(%rbx), %eax
	testb	$2, %al
	je	LBB0_6
## %bb.4:
	movq	_TCODE_ISO_DATA@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_6
## %bb.5:
	leaq	16(%r14), %r15
	jmp	LBB0_7
LBB0_6:
	leaq	8(%r14), %r15
LBB0_7:
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	addq	$20, %rbx
	leaq	4(%r15), %rsi
	movq	%rbx, %rdi
	callq	_list_add_tail
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_dma_trm_flush
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	xorl	%eax, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_KERN_ERR,4,2                   ## @KERN_ERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Transmit packet size %Zd is too big"

	.comm	_EOVERFLOW,4,2                  ## @EOVERFLOW
	.comm	_hpsb_raw,8,3                   ## @hpsb_raw
	.comm	_TCODE_ISO_DATA,4,2             ## @TCODE_ISO_DATA
	.no_dead_strip	_ohci_transmit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ohci_transmit
_ohci_transmit:                         ; @ohci_transmit
	.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
	ldr	x19, [x0]
	ldr	x2, [x1]
	ldr	x8, [x19]
	cmp	x2, x8
	b.le	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _KERN_ERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _KERN_ERR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_PRINT
Lloh5:
	adrp	x8, _EOVERFLOW@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EOVERFLOW@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_8
LBB0_2:
	mov	x20, x1
	ldr	x8, [x1, #8]
Lloh8:
	adrp	x9, _hpsb_raw@GOTPAGE
Lloh9:
	ldr	x9, [x9, _hpsb_raw@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.3:
	ldr	w8, [x20, #16]
	tbz	w8, #1, LBB0_6
; %bb.4:
Lloh11:
	adrp	x9, _TCODE_ISO_DATA@GOTPAGE
Lloh12:
	ldr	x9, [x9, _TCODE_ISO_DATA@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_6
; %bb.5:
	add	x21, x19, #16
	b	LBB0_7
LBB0_6:
	add	x21, x19, #8
LBB0_7:
	mov	x0, x21
	bl	_spin_lock_irqsave
	add	x0, x20, #20
	add	x1, x21, #4
	bl	_list_add_tail
	mov	x0, x19
	mov	x1, x21
	bl	_dma_trm_flush
	mov	x0, x21
	bl	_spin_unlock_irqrestore
	mov	w0, #0
LBB0_8:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_KERN_ERR,4,2                   ; @KERN_ERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Transmit packet size %Zd is too big"

	.comm	_EOVERFLOW,4,2                  ; @EOVERFLOW
	.comm	_hpsb_raw,8,3                   ; @hpsb_raw
	.comm	_TCODE_ISO_DATA,4,2             ; @TCODE_ISO_DATA
	.no_dead_strip	_ohci_transmit
.subsections_via_symbols
