	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2x00usb_register_read_async  ## -- Begin function rt2x00usb_register_read_async
	.p2align	4, 0x90
_rt2x00usb_register_read_async:         ## @rt2x00usb_register_read_async
	.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	%rdx, %r13
	movl	%esi, -44(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r14
	movl	4(%rdi), %edi
	callq	_to_usb_device_intf
	movq	%rax, %r12
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movl	$56, %edi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %rbx
	movl	(%r15), %esi
	xorl	%edi, %edi
	callq	_usb_alloc_urb
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movq	%rax, %r15
	movq	%r14, 48(%rbx)
	movq	%r13, (%rbx)
	movq	_USB_VENDOR_REQUEST_IN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	16(%rbx), %r13
	movl	%eax, 44(%rbx)
	movq	_USB_MULTI_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	movq	$0, 32(%rbx)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_le16
	movq	%rax, 24(%rbx)
	movl	$4, %edi
	callq	_cpu_to_le16
	movq	%rax, 16(%rbx)
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_usb_rcvctrlpipe
	movq	%rbx, %r8
	addq	$8, %r8
	movq	_rt2x00usb_register_read_async_cb@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movq	%r15, %rdi
	movq	%r12, %rsi
	movl	%eax, %edx
	movq	%r13, %rcx
	movl	$4, %r9d
	pushq	%rbx
	pushq	%r10
	callq	_usb_fill_control_urb
	addq	$16, %rsp
	movl	(%r14), %esi
	movq	%r15, %rdi
	callq	_usb_anchor_urb
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_usb_submit_urb
	testq	%rax, %rax
	jns	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	callq	_usb_unanchor_urb
	movq	%rbx, %rdi
	callq	_kfree
LBB0_4:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_usb_free_urb                   ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_kfree                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_USB_VENDOR_REQUEST_IN,4,2      ## @USB_VENDOR_REQUEST_IN
	.comm	_USB_MULTI_READ,4,2             ## @USB_MULTI_READ
	.comm	_rt2x00usb_register_read_async_cb,4,2 ## @rt2x00usb_register_read_async_cb
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rt2x00usb_register_read_async  ; -- Begin function rt2x00usb_register_read_async
	.p2align	2
_rt2x00usb_register_read_async:         ; @rt2x00usb_register_read_async
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x24, x2
	mov	x23, x1
	mov	x20, x0
	ldr	w0, [x0, #4]
	bl	_to_usb_device_intf
	mov	x22, x0
Lloh0:
	adrp	x25, _GFP_ATOMIC@GOTPAGE
Lloh1:
	ldr	x25, [x25, _GFP_ATOMIC@GOTPAGEOFF]
	ldr	w1, [x25]
	mov	w0, #56
	bl	_kmalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	w1, [x25]
	mov	w0, #0
	bl	_usb_alloc_urb
	cbz	x0, LBB0_6
; %bb.2:
	mov	x21, x0
	str	x20, [x19, #48]
	str	x24, [x19]
Lloh2:
	adrp	x8, _USB_VENDOR_REQUEST_IN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _USB_VENDOR_REQUEST_IN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _USB_MULTI_READ@GOTPAGE
Lloh6:
	ldr	x9, [x9, _USB_MULTI_READ@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #40]
	str	xzr, [x19, #32]
	mov	x0, x23
	bl	_cpu_to_le16
	str	x0, [x19, #24]
	mov	w0, #4
	bl	_cpu_to_le16
	mov	x23, x19
	str	x0, [x23, #16]!
	mov	x0, x22
	mov	w1, #0
	bl	_usb_rcvctrlpipe
	mov	x2, x0
	add	x4, x19, #8
Lloh8:
	adrp	x8, _rt2x00usb_register_read_async_cb@GOTPAGE
Lloh9:
	ldr	x8, [x8, _rt2x00usb_register_read_async_cb@GOTPAGEOFF]
Lloh10:
	ldr	w6, [x8]
	mov	x0, x21
	mov	x1, x22
	mov	x3, x23
	mov	w5, #4
	mov	x7, x19
	bl	_usb_fill_control_urb
	ldr	w1, [x20]
	mov	x0, x21
	bl	_usb_anchor_urb
	ldr	w1, [x25]
	mov	x0, x21
	bl	_usb_submit_urb
	tbz	x0, #63, LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_usb_unanchor_urb
	mov	x0, x19
	bl	_kfree
LBB0_4:
	mov	x0, x21
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_usb_free_urb
LBB0_5:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_6:
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_kfree
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_USB_VENDOR_REQUEST_IN,4,2      ; @USB_VENDOR_REQUEST_IN
	.comm	_USB_MULTI_READ,4,2             ; @USB_MULTI_READ
	.comm	_rt2x00usb_register_read_async_cb,4,2 ; @rt2x00usb_register_read_async_cb
.subsections_via_symbols
