	.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	%rdi, %rbx
	cmpq	$0, 24(%rdi)
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_lbs_deb_usbd
	movq	_ENODEV@GOTPCREL(%rip), %rax
	subl	(%rax), %r14d
	jmp	LBB0_5
LBB0_2:
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	(%rbx), %r12
	movq	8(%rbx), %r13
	movl	16(%rbx), %esi
	movq	%r12, %rdi
	callq	_usb_sndbulkpipe
	movq	_if_usb_write_bulk_callback@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r9d
	movq	%rbx, (%rsp)
	movq	%r13, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	movq	%r15, %rcx
	movl	%r14d, %r8d
	callq	_usb_fill_bulk_urb
	movq	_URB_ZERO_PACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	8(%rbx), %rdi
	orl	%eax, (%rdi)
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_usb_submit_urb
	movq	(%rbx), %rdi
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %r14d
	leaq	L_.str.1(%rip), %rsi
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_lbs_deb_usbd
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str.2(%rip), %rsi
	callq	_lbs_deb_usb2
	xorl	%r14d, %r14d
LBB0_5:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Device removed\n"

	.comm	_ENODEV,4,2                     ## @ENODEV
	.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	x19, x0
	ldr	x8, [x0, #24]
	cbz	x8, LBB0_2
; %bb.1:
	ldr	x0, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_lbs_deb_usbd
Lloh2:
	adrp	x8, _ENODEV@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_5
LBB0_2:
	mov	x20, x2
	mov	x21, x1
	ldp	x23, x22, [x19]
	ldr	w1, [x19, #16]
	mov	x0, x23
	bl	_usb_sndbulkpipe
	mov	x2, x0
Lloh5:
	adrp	x8, _if_usb_write_bulk_callback@GOTPAGE
Lloh6:
	ldr	x8, [x8, _if_usb_write_bulk_callback@GOTPAGEOFF]
Lloh7:
	ldr	w5, [x8]
	mov	x0, x22
	mov	x1, x23
	mov	x3, x21
	mov	x4, x20
	mov	x6, x19
	bl	_usb_fill_bulk_urb
Lloh8:
	adrp	x8, _URB_ZERO_PACKET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _URB_ZERO_PACKET@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	x0, [x19, #8]
	ldr	w9, [x0]
	orr	w8, w9, w8
	str	w8, [x0]
Lloh11:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	bl	_usb_submit_urb
	mov	x20, x0
	ldr	x0, [x19]
	cbz	w20, LBB0_4
; %bb.3:
	str	x20, [sp]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_lbs_deb_usbd
	b	LBB0_5
LBB0_4:
Lloh16:
	adrp	x1, l_.str.2@PAGE
Lloh17:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_lbs_deb_usb2
LBB0_5:
	mov	x0, x20
	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 AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Device removed\n"

	.comm	_ENODEV,4,2                     ; @ENODEV
	.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
