	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function usb_tx_block
_usb_tx_block:                          ## @usb_tx_block
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	_LBTF_DEB_USB@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_lbtf_deb_enter
	movq	32(%r14), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	movq	(%r14), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_lbtf_deb_usbd
	movl	$-1, %r14d
	jmp	LBB0_6
LBB0_2:
	xorl	%eax, %eax
	testq	%r12, %r12
	setne	%al
	movq	16(%r14,%rax,8), %r12
	movl	%r13d, %ebx
	movq	(%r14), %r13
	movl	8(%r14), %esi
	movq	%r13, %rdi
	callq	_usb_sndbulkpipe
	movq	_if_usb_write_bulk_callback@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	%r14, (%rsp)
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	movq	%r15, %rcx
	movl	%ebx, %r8d
	callq	_usb_fill_bulk_urb
	movq	_URB_ZERO_PACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r12, %rdi
	callq	_usb_submit_urb
	movq	(%r14), %rdi
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rsi
	movl	$-1, %r14d
	movl	$-1, %edx
	xorl	%eax, %eax
	callq	_lbtf_deb_usbd
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	callq	_lbtf_deb_usb2
	xorl	%r14d, %r14d
LBB0_5:
	movq	_LBTF_DEB_USB@GOTPCREL(%rip), %rbx
LBB0_6:
	movl	(%rbx), %edi
	callq	_lbtf_deb_leave
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LBTF_DEB_USB,4,2               ## @LBTF_DEB_USB
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Device removed\n"

	.comm	_if_usb_write_bulk_callback,4,2 ## @if_usb_write_bulk_callback
	.comm	_URB_ZERO_PACKET,4,2            ## @URB_ZERO_PACKET
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
L_.str.1:                               ## @.str.1
	.asciz	"usb_submit_urb failed: %d\n"

L_.str.2:                               ## @.str.2
	.asciz	"usb_submit_urb success\n"

	.no_dead_strip	_usb_tx_block
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function usb_tx_block
_usb_tx_block:                          ; @usb_tx_block
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x3
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x24, _LBTF_DEB_USB@GOTPAGE
Lloh1:
	ldr	x24, [x24, _LBTF_DEB_USB@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_lbtf_deb_enter
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x0, [x19]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_lbtf_deb_usbd
	mov	w19, #-1
	b	LBB0_5
LBB0_2:
	mov	w8, #24
	mov	w9, #16
	cmp	x22, #0
	csel	x8, x9, x8, eq
	ldr	x22, [x19, x8]
	ldr	x23, [x19]
	ldr	w1, [x19, #8]
	mov	x0, x23
	bl	_usb_sndbulkpipe
	mov	x2, x0
Lloh4:
	adrp	x8, _if_usb_write_bulk_callback@GOTPAGE
Lloh5:
	ldr	x8, [x8, _if_usb_write_bulk_callback@GOTPAGEOFF]
Lloh6:
	ldr	w5, [x8]
	mov	x0, x22
	mov	x1, x23
	mov	x3, x21
	mov	x4, x20
	mov	x6, x19
	bl	_usb_fill_bulk_urb
Lloh7:
	adrp	x8, _URB_ZERO_PACKET@GOTPAGE
Lloh8:
	ldr	x8, [x8, _URB_ZERO_PACKET@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	str	w8, [x22]
Lloh10:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh11:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_usb_submit_urb
	mov	x8, x0
	ldr	x0, [x19]
	cbz	x8, LBB0_4
; %bb.3:
	mov	w19, #-1
	str	x19, [sp]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_lbtf_deb_usbd
	b	LBB0_5
LBB0_4:
Lloh15:
	adrp	x1, l_.str.2@PAGE
Lloh16:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_lbtf_deb_usb2
	mov	w19, #0
LBB0_5:
	ldr	w0, [x24]
	bl	_lbtf_deb_leave
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_LBTF_DEB_USB,4,2               ; @LBTF_DEB_USB
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Device removed\n"

	.comm	_if_usb_write_bulk_callback,4,2 ; @if_usb_write_bulk_callback
	.comm	_URB_ZERO_PACKET,4,2            ; @URB_ZERO_PACKET
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
l_.str.1:                               ; @.str.1
	.asciz	"usb_submit_urb failed: %d\n"

l_.str.2:                               ; @.str.2
	.asciz	"usb_submit_urb success\n"

	.no_dead_strip	_usb_tx_block
.subsections_via_symbols
