	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl8xxxu_submit_int_urb
_rtl8xxxu_submit_int_urb:               ## @rtl8xxxu_submit_int_urb
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %r14
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	xorl	%ebx, %ebx
	xorl	%edi, %edi
	callq	_usb_alloc_urb
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r15
	movl	12(%r14), %esi
	movl	4(%r14), %ecx
	movl	8(%r14), %edx
	movq	_USB_INTR_CONTENT_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_rtl8xxxu_int_complete@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	%r15, %rdi
	pushq	$1
	pushq	%r14
	callq	_usb_fill_int_urb
	addq	$16, %rsp
	movq	%r15, %rdi
	movq	%r14, %rsi
	callq	_usb_anchor_urb
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_usb_submit_urb
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_usb_unanchor_urb
	jmp	LBB0_5
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_5
LBB0_4:
	movq	_REG_USB_HIMR@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_rtl8xxxu_read32
	movq	_USB_HIMR_CPWM@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	(%rbx), %esi
	movq	%r14, %rdi
	movl	%eax, %edx
	callq	_rtl8xxxu_write32
	xorl	%ebx, %ebx
LBB0_5:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_USB_INTR_CONTENT_LENGTH,4,2    ## @USB_INTR_CONTENT_LENGTH
	.comm	_rtl8xxxu_int_complete,4,2      ## @rtl8xxxu_int_complete
	.comm	_REG_USB_HIMR,4,2               ## @REG_USB_HIMR
	.comm	_USB_HIMR_CPWM,4,2              ## @USB_HIMR_CPWM
	.no_dead_strip	_rtl8xxxu_submit_int_urb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl8xxxu_submit_int_urb
_rtl8xxxu_submit_int_urb:               ; @rtl8xxxu_submit_int_urb
	.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
	ldr	x19, [x0]
Lloh0:
	adrp	x21, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	w0, #0
	bl	_usb_alloc_urb
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldp	w2, w1, [x19, #8]
	ldr	w3, [x19, #4]
Lloh2:
	adrp	x8, _USB_INTR_CONTENT_LENGTH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _USB_INTR_CONTENT_LENGTH@GOTPAGEOFF]
Lloh4:
	ldr	w4, [x8]
Lloh5:
	adrp	x8, _rtl8xxxu_int_complete@GOTPAGE
Lloh6:
	ldr	x8, [x8, _rtl8xxxu_int_complete@GOTPAGEOFF]
Lloh7:
	ldr	w5, [x8]
	mov	x6, x19
	mov	w7, #1
	bl	_usb_fill_int_urb
	mov	x0, x20
	mov	x1, x19
	bl	_usb_anchor_urb
	ldr	w1, [x21]
	mov	x0, x20
	bl	_usb_submit_urb
	mov	x21, x0
	cbz	w0, LBB0_4
; %bb.2:
	mov	x0, x20
	bl	_usb_unanchor_urb
	b	LBB0_5
LBB0_3:
Lloh8:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_5
LBB0_4:
Lloh11:
	adrp	x20, _REG_USB_HIMR@GOTPAGE
Lloh12:
	ldr	x20, [x20, _REG_USB_HIMR@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_rtl8xxxu_read32
Lloh13:
	adrp	x8, _USB_HIMR_CPWM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _USB_HIMR_CPWM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	orr	w2, w8, w0
	ldr	w1, [x20]
	mov	x0, x19
	bl	_rtl8xxxu_write32
LBB0_5:
	mov	x0, x21
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_USB_INTR_CONTENT_LENGTH,4,2    ; @USB_INTR_CONTENT_LENGTH
	.comm	_rtl8xxxu_int_complete,4,2      ; @rtl8xxxu_int_complete
	.comm	_REG_USB_HIMR,4,2               ; @REG_USB_HIMR
	.comm	_USB_HIMR_CPWM,4,2              ; @USB_HIMR_CPWM
	.no_dead_strip	_rtl8xxxu_submit_int_urb
.subsections_via_symbols
