	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function p54u_tx_lm87
_p54u_tx_lm87:                          ## @p54u_tx_lm87
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	movq	(%rdi), %r13
	movq	8(%rsi), %r14
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_usb_alloc_urb
	testq	%rax, %rax
	je	LBB0_7
## %bb.1:
	movq	%rax, %r15
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	leaq	-8(%r14), %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%r12), %rsi
	movq	8(%r12), %rdi
	callq	_p54u_lm87_chksum
	movl	%eax, -4(%r14)
	movq	8(%r12), %rax
	movl	(%rax), %eax
	movl	%eax, -8(%r14)
	movq	%r13, -64(%rbp)                 ## 8-byte Spill
	movl	4(%r13), %r13d
	movq	_P54U_PIPE_DATA@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r13d, %edi
	callq	_usb_sndbulkpipe
	movl	%eax, %ebx
	movq	(%r12), %r14
	addq	$8, %r14
	movq	%r12, %rdi
	callq	_FREE_AFTER_TX
	testq	%rax, %rax
	jne	LBB0_2
## %bb.3:
	movq	_p54u_tx_dummy_cb@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_7:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_p54_free_skb                   ## TAILCALL
LBB0_2:
	movq	_p54u_tx_cb@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %r9d
	movq	%r12, (%rsp)
	movq	%r15, %rdi
	movl	%r13d, %esi
	movl	%ebx, %edx
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%r14, %r8
	callq	_usb_fill_bulk_urb
	movq	_URB_ZERO_PACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r15)
	movq	%r15, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	callq	_usb_anchor_urb
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_usb_submit_urb
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r15, %rdi
	callq	_usb_unanchor_urb
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_p54_free_skb
LBB0_6:
	movq	%r15, %rdi
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_usb_free_urb                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_P54U_PIPE_DATA,4,2             ## @P54U_PIPE_DATA
	.comm	_p54u_tx_cb,4,2                 ## @p54u_tx_cb
	.comm	_p54u_tx_dummy_cb,4,2           ## @p54u_tx_dummy_cb
	.comm	_URB_ZERO_PACKET,4,2            ## @URB_ZERO_PACKET
	.no_dead_strip	_p54u_tx_lm87
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function p54u_tx_lm87
_p54u_tx_lm87:                          ; @p54u_tx_lm87
	.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	x22, [x0]
	ldr	x23, [x1, #8]
Lloh0:
	adrp	x27, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x27, [x27, _GFP_ATOMIC@GOTPAGEOFF]
	ldr	w1, [x27]
	mov	w0, #0
	bl	_usb_alloc_urb
	cbz	x0, LBB0_4
; %bb.1:
	mov	x21, x0
	ldp	x1, x0, [x19]
	bl	_p54u_lm87_chksum
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	stp	w8, w0, [x23, #-8]!
	ldr	w24, [x22, #4]
Lloh2:
	adrp	x8, _P54U_PIPE_DATA@GOTPAGE
Lloh3:
	ldr	x8, [x8, _P54U_PIPE_DATA@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x24
	bl	_usb_sndbulkpipe
	mov	x25, x0
	ldr	x8, [x19]
	add	x26, x8, #8
	mov	x0, x19
	bl	_FREE_AFTER_TX
Lloh5:
	adrp	x8, _p54u_tx_cb@GOTPAGE
Lloh6:
	ldr	x8, [x8, _p54u_tx_cb@GOTPAGEOFF]
Lloh7:
	adrp	x9, _p54u_tx_dummy_cb@GOTPAGE
Lloh8:
	ldr	x9, [x9, _p54u_tx_dummy_cb@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	ldr	w5, [x8]
	mov	x0, x21
	mov	x1, x24
	mov	x2, x25
	mov	x3, x23
	mov	x4, x26
	mov	x6, x19
	bl	_usb_fill_bulk_urb
Lloh9:
	adrp	x8, _URB_ZERO_PACKET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _URB_ZERO_PACKET@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	ldr	w9, [x21]
	orr	w8, w9, w8
	str	w8, [x21]
	mov	x0, x21
	mov	x1, x22
	bl	_usb_anchor_urb
	ldr	w1, [x27]
	mov	x0, x21
	bl	_usb_submit_urb
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x21
	bl	_usb_unanchor_urb
	mov	x0, x20
	mov	x1, x19
	bl	_p54_free_skb
LBB0_3:
	mov	x0, x21
	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	_usb_free_urb
LBB0_4:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_P54U_PIPE_DATA,4,2             ; @P54U_PIPE_DATA
	.comm	_p54u_tx_cb,4,2                 ; @p54u_tx_cb
	.comm	_p54u_tx_dummy_cb,4,2           ; @p54u_tx_dummy_cb
	.comm	_URB_ZERO_PACKET,4,2            ; @URB_ZERO_PACKET
	.no_dead_strip	_p54u_tx_lm87
.subsections_via_symbols
