	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl_usb_tx_urb_setup
__rtl_usb_tx_urb_setup:                 ## @_rtl_usb_tx_urb_setup
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r14d
	movq	%rsi, %r15
	callq	_rtl_usbpriv
	movl	%eax, %edi
	callq	_rtl_usbdev
	movq	%rax, %r12
	xorl	%edi, %edi
	testq	%r15, %r15
	sete	%dil
	callq	_WARN_ON
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edi, %edi
	callq	_usb_alloc_urb
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	__rtl_install_trx_info
	movl	(%r12), %r12d
	movl	%r12d, %edi
	movl	%r14d, %esi
	callq	_usb_sndbulkpipe
	movl	(%r15), %r8d
	movl	4(%r15), %ecx
	movq	__rtl_tx_complete@GOTPCREL(%rip), %rdx
	movl	(%rdx), %r9d
	movq	%r15, (%rsp)
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	callq	_usb_fill_bulk_urb
	movq	_URB_ZERO_PACKET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	jmp	LBB0_3
LBB0_1:
	movq	%r15, %rdi
	callq	_kfree_skb
LBB0_3:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	__rtl_tx_complete,4,2           ## @_rtl_tx_complete
	.comm	_URB_ZERO_PACKET,4,2            ## @URB_ZERO_PACKET
	.no_dead_strip	__rtl_usb_tx_urb_setup
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl_usb_tx_urb_setup
__rtl_usb_tx_urb_setup:                 ; @_rtl_usb_tx_urb_setup
	.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
	mov	x21, x2
	mov	x19, x1
	bl	_rtl_usbpriv
	bl	_rtl_usbdev
	mov	x22, x0
	cmp	x19, #0
	cset	w0, eq
	bl	_WARN_ON
Lloh0:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #0
	bl	_usb_alloc_urb
	mov	x20, x0
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	mov	x1, x19
	mov	x2, x21
	bl	__rtl_install_trx_info
	ldr	w22, [x22]
	mov	x0, x22
	mov	x1, x21
	bl	_usb_sndbulkpipe
	mov	x2, x0
	ldp	w4, w3, [x19]
Lloh3:
	adrp	x8, __rtl_tx_complete@GOTPAGE
Lloh4:
	ldr	x8, [x8, __rtl_tx_complete@GOTPAGEOFF]
Lloh5:
	ldr	w5, [x8]
	mov	x0, x20
	mov	x1, x22
	mov	x6, x19
	bl	_usb_fill_bulk_urb
Lloh6:
	adrp	x8, _URB_ZERO_PACKET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _URB_ZERO_PACKET@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x20]
	orr	w8, w9, w8
	str	w8, [x20]
	b	LBB0_3
LBB0_2:
	mov	x0, x19
	bl	_kfree_skb
LBB0_3:
	mov	x0, x20
	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	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	__rtl_tx_complete,4,2           ; @_rtl_tx_complete
	.comm	_URB_ZERO_PACKET,4,2            ; @URB_ZERO_PACKET
	.no_dead_strip	__rtl_usb_tx_urb_setup
.subsections_via_symbols
