	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p54u_tx_net2280
_p54u_tx_net2280:                       ## @p54u_tx_net2280
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	movq	16(%rdi), %r15
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	8(%rsi), %r12
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movl	$40, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.1:
	movq	%rax, %r13
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	movl	(%r14), %esi
	xorl	%edi, %edi
	callq	_usb_alloc_urb
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movq	%rax, %r15
	movl	(%r14), %esi
	xorl	%edi, %edi
	callq	_usb_alloc_urb
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_10
## %bb.3:
	movq	%r12, %rbx
	leaq	-40(%r12), %r14
	movq	_NET2280_DEV_U32@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	movq	%rax, 32(%r13)
	movq	_P54U_DEV_BASE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, 24(%r13)
	movq	_ISL38XX_DEV_INT_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le32
	movq	%rax, 16(%r13)
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, %rdi
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movl	(%r12), %edi
	callq	_cpu_to_le16
	movq	%rax, -32(%rbx)
	movq	8(%r12), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbx)
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	4(%r14), %ebx
	movq	_P54U_PIPE_DEV@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_usb_sndbulkpipe
	movq	_p54u_tx_dummy_cb@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, (%rsp)
	movq	%r15, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	movq	%r13, %rcx
	movl	$40, %r8d
	callq	_usb_fill_bulk_urb
	movq	_URB_FREE_BUFFER@GOTPCREL(%rip), %rax
	movq	_URB_ZERO_PACKET@GOTPCREL(%rip), %rbx
	movl	(%rbx), %ecx
	orl	(%rax), %ecx
	orl	%ecx, (%r15)
	movl	4(%r14), %r13d
	movq	_P54U_PIPE_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_usb_sndbulkpipe
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movl	(%r12), %r14d
	addl	$40, %r14d
	movq	%r12, %rdi
	callq	_FREE_AFTER_TX
	testq	%rax, %rax
	movq	_p54u_tx_dummy_cb@GOTPCREL(%rip), %rax
	je	LBB0_5
## %bb.4:
	movq	_p54u_tx_cb@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %r9d
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, (%rsp)
	movq	-88(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	-52(%rbp), %edx                 ## 4-byte Reload
	movq	-80(%rbp), %rcx                 ## 8-byte Reload
	movl	%r14d, %r8d
	callq	_usb_fill_bulk_urb
	movl	(%rbx), %eax
	orl	%eax, (%r12)
	movq	%r15, %rdi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_usb_anchor_urb
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_usb_submit_urb
	movq	%r15, %rdi
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_usb_anchor_urb
	movl	(%r14), %esi
	movq	%r12, %rdi
	callq	_usb_submit_urb
	movq	%r12, %rdi
	testl	%eax, %eax
	je	LBB0_11
LBB0_7:
	callq	_usb_unanchor_urb
	movl	$1, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_12
LBB0_8:
	xorl	%r15d, %r15d
	xorl	%r13d, %r13d
	xorl	%r12d, %r12d
	jmp	LBB0_12
LBB0_9:
	xorl	%r15d, %r15d
LBB0_10:
	xorl	%r12d, %r12d
LBB0_12:
	movq	%r15, %rdi
	callq	_usb_free_urb
	movq	%r12, %rdi
	callq	_usb_free_urb
	testl	%ebx, %ebx
	je	LBB0_14
## %bb.13:
	movq	%r13, %rdi
	callq	_kfree
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_p54_free_skb                   ## TAILCALL
LBB0_14:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_12
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_NET2280_DEV_U32,4,2            ## @NET2280_DEV_U32
	.comm	_P54U_DEV_BASE,4,2              ## @P54U_DEV_BASE
	.comm	_ISL38XX_DEV_INT_DATA,4,2       ## @ISL38XX_DEV_INT_DATA
	.comm	_P54U_PIPE_DEV,4,2              ## @P54U_PIPE_DEV
	.comm	_p54u_tx_dummy_cb,4,2           ## @p54u_tx_dummy_cb
	.comm	_URB_FREE_BUFFER,4,2            ## @URB_FREE_BUFFER
	.comm	_URB_ZERO_PACKET,4,2            ## @URB_ZERO_PACKET
	.comm	_P54U_PIPE_DATA,4,2             ## @P54U_PIPE_DATA
	.comm	_p54u_tx_cb,4,2                 ## @p54u_tx_cb
	.no_dead_strip	_p54u_tx_net2280
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p54u_tx_net2280
_p54u_tx_net2280:                       ; @p54u_tx_net2280
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x1
	mov	x20, x0
	ldr	x23, [x0, #16]
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	ldr	x26, [x1, #8]
Lloh2:
	ldr	w8, [x8]
	neg	w25, w8
Lloh3:
	adrp	x28, _GFP_ATOMIC@GOTPAGE
Lloh4:
	ldr	x28, [x28, _GFP_ATOMIC@GOTPAGEOFF]
	ldr	w1, [x28]
	mov	w0, #40
	bl	_kmalloc
	mov	x24, x0
	cbz	x0, LBB0_6
; %bb.1:
	ldr	w1, [x28]
	mov	w0, #0
	bl	_usb_alloc_urb
	mov	x21, x0
	cbz	x0, LBB0_7
; %bb.2:
	ldr	w1, [x28]
	mov	w0, #0
	bl	_usb_alloc_urb
	mov	x22, x0
	cbz	x0, LBB0_8
; %bb.3:
	sub	x25, x26, #40
Lloh5:
	adrp	x8, _NET2280_DEV_U32@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NET2280_DEV_U32@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	str	x0, [x24, #32]
Lloh8:
	adrp	x8, _P54U_DEV_BASE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _P54U_DEV_BASE@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	str	x0, [x24, #24]
Lloh11:
	adrp	x8, _ISL38XX_DEV_INT_DATA@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ISL38XX_DEV_INT_DATA@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_cpu_to_le32
	str	x0, [x24, #16]
	mov	x0, x25
	mov	w1, #0
	mov	w2, #40
	bl	_memset
	ldr	w0, [x19]
	bl	_cpu_to_le16
	stur	x0, [x26, #-32]
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	stur	w8, [x26, #-40]
	ldr	w26, [x23, #4]
Lloh14:
	adrp	x8, _P54U_PIPE_DEV@GOTPAGE
Lloh15:
	ldr	x8, [x8, _P54U_PIPE_DEV@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x26
	bl	_usb_sndbulkpipe
	mov	x2, x0
Lloh17:
	adrp	x8, _p54u_tx_dummy_cb@GOTPAGE
Lloh18:
	ldr	x8, [x8, _p54u_tx_dummy_cb@GOTPAGEOFF]
Lloh19:
	ldr	w5, [x8]
	mov	x0, x21
	mov	x1, x26
	mov	x3, x24
	mov	w4, #40
	mov	x6, x20
	bl	_usb_fill_bulk_urb
Lloh20:
	adrp	x8, _URB_FREE_BUFFER@GOTPAGE
Lloh21:
	ldr	x8, [x8, _URB_FREE_BUFFER@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
Lloh23:
	adrp	x9, _URB_ZERO_PACKET@GOTPAGE
Lloh24:
	ldr	x9, [x9, _URB_ZERO_PACKET@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x21]
	orr	w8, w8, w9
	str	w8, [x21]
	ldr	w24, [x23, #4]
Lloh26:
	adrp	x8, _P54U_PIPE_DATA@GOTPAGE
Lloh27:
	ldr	x8, [x8, _P54U_PIPE_DATA@GOTPAGEOFF]
Lloh28:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_usb_sndbulkpipe
	mov	x26, x0
	ldr	w8, [x19]
	add	w27, w8, #40
	mov	x0, x19
	bl	_FREE_AFTER_TX
Lloh29:
	adrp	x8, _p54u_tx_cb@GOTPAGE
Lloh30:
	ldr	x8, [x8, _p54u_tx_cb@GOTPAGEOFF]
	cmp	x0, #0
Lloh31:
	adrp	x9, _p54u_tx_dummy_cb@GOTPAGE
Lloh32:
	ldr	x9, [x9, _p54u_tx_dummy_cb@GOTPAGEOFF]
	csel	x8, x9, x8, eq
	ldr	w5, [x8]
	mov	x0, x22
	mov	x1, x24
	mov	x2, x26
	mov	x3, x25
	mov	x4, x27
	mov	x6, x19
	bl	_usb_fill_bulk_urb
Lloh33:
	adrp	x8, _URB_ZERO_PACKET@GOTPAGE
Lloh34:
	ldr	x8, [x8, _URB_ZERO_PACKET@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	str	w8, [x22]
	mov	x0, x21
	mov	x1, x23
	bl	_usb_anchor_urb
	ldr	w1, [x28]
	mov	x0, x21
	bl	_usb_submit_urb
	mov	x8, x0
	mov	x0, x21
	cbnz	w8, LBB0_5
; %bb.4:
	mov	x0, x22
	mov	x1, x23
	bl	_usb_anchor_urb
	ldr	w1, [x28]
	mov	x0, x22
	bl	_usb_submit_urb
	mov	x8, x0
	mov	x0, x22
	cbz	w8, LBB0_11
LBB0_5:
	bl	_usb_unanchor_urb
	mov	x24, #0
	mov	w25, #1
	b	LBB0_8
LBB0_6:
	mov	x22, #0
	mov	x21, #0
	b	LBB0_8
LBB0_7:
	mov	x22, #0
LBB0_8:
	mov	x0, x21
	bl	_usb_free_urb
	mov	x0, x22
	bl	_usb_free_urb
	cbz	w25, LBB0_10
; %bb.9:
	mov	x0, x24
	bl	_kfree
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_p54_free_skb
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	x24, #0
	mov	w25, #0
	b	LBB0_8
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_NET2280_DEV_U32,4,2            ; @NET2280_DEV_U32
	.comm	_P54U_DEV_BASE,4,2              ; @P54U_DEV_BASE
	.comm	_ISL38XX_DEV_INT_DATA,4,2       ; @ISL38XX_DEV_INT_DATA
	.comm	_P54U_PIPE_DEV,4,2              ; @P54U_PIPE_DEV
	.comm	_p54u_tx_dummy_cb,4,2           ; @p54u_tx_dummy_cb
	.comm	_URB_FREE_BUFFER,4,2            ; @URB_FREE_BUFFER
	.comm	_URB_ZERO_PACKET,4,2            ; @URB_ZERO_PACKET
	.comm	_P54U_PIPE_DATA,4,2             ; @P54U_PIPE_DATA
	.comm	_p54u_tx_cb,4,2                 ; @p54u_tx_cb
	.no_dead_strip	_p54u_tx_net2280
.subsections_via_symbols
