	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function async_set_registers
_async_set_registers:                   ## @async_set_registers
	.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
	movl	%edx, %r14d
	movl	%esi, %ebx
	movq	%rdi, %r12
	movq	_RX_REG_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EAGAIN@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_7
LBB0_2:
	movq	_RTL8150_REQT_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leaq	24(%r12), %r15
	movl	%eax, 52(%r12)
	movq	_RTL8150_REQ_SET_REGS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%r12)
	movl	%ebx, %edi
	callq	_cpu_to_le16
	movq	%rax, 40(%r12)
	movq	$0, 32(%r12)
	movl	%r14d, %edi
	callq	_cpu_to_le16
	movq	%rax, 24(%r12)
	movq	8(%r12), %r13
	movl	%r14d, (%r13)
	movl	56(%r12), %ebx
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_usb_sndctrlpipe
	leaq	16(%r12), %r8
	movq	_ctrl_callback@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movq	%r13, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	movq	%r15, %rcx
	movl	%r14d, %r9d
	pushq	%r12
	pushq	%r10
	callq	_usb_fill_control_urb
	addq	$16, %rsp
	movq	8(%r12), %rdi
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_usb_submit_urb
	testl	%eax, %eax
	je	LBB0_6
## %bb.3:
	movl	%eax, %ebx
	movq	_ENODEV@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addl	%ebx, %eax
	jne	LBB0_5
## %bb.4:
	movl	4(%r12), %edi
	callq	_netif_device_detach
LBB0_5:
	leaq	L_.str(%rip), %rdi
	movl	%ebx, %esi
	callq	_err
	jmp	LBB0_7
LBB0_6:
	movq	_RX_REG_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r12, %rsi
	callq	_set_bit
	xorl	%ebx, %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_REG_SET,4,2                 ## @RX_REG_SET
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_RTL8150_REQT_WRITE,4,2         ## @RTL8150_REQT_WRITE
	.comm	_RTL8150_REQ_SET_REGS,4,2       ## @RTL8150_REQ_SET_REGS
	.comm	_ctrl_callback,4,2              ## @ctrl_callback
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"control request submission failed: %d"

	.no_dead_strip	_async_set_registers
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function async_set_registers
_async_set_registers:                   ; @async_set_registers
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x24, _RX_REG_SET@GOTPAGE
Lloh1:
	ldr	x24, [x24, _RX_REG_SET@GOTPAGEOFF]
	ldr	w0, [x24]
	mov	x1, x19
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _EAGAIN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EAGAIN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_7
LBB0_2:
Lloh5:
	adrp	x8, _RTL8150_REQT_WRITE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RTL8150_REQT_WRITE@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	adrp	x9, _RTL8150_REQ_SET_REGS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _RTL8150_REQ_SET_REGS@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #48]
	mov	x0, x21
	bl	_cpu_to_le16
	stp	xzr, x0, [x19, #32]
	mov	x0, x20
	bl	_cpu_to_le16
	mov	x21, x19
	str	x0, [x21, #24]!
	ldr	x22, [x19, #8]
	str	w20, [x22]
	ldr	w23, [x19, #56]
	mov	x0, x23
	mov	w1, #0
	bl	_usb_sndctrlpipe
	mov	x2, x0
	add	x4, x19, #16
Lloh11:
	adrp	x8, _ctrl_callback@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ctrl_callback@GOTPAGEOFF]
Lloh13:
	ldr	w6, [x8]
	mov	x0, x22
	mov	x1, x23
	mov	x3, x21
	mov	x5, x20
	mov	x7, x19
	bl	_usb_fill_control_urb
	ldr	x0, [x19, #8]
Lloh14:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_usb_submit_urb
	mov	x20, x0
	cbz	w0, LBB0_6
; %bb.3:
Lloh17:
	adrp	x8, _ENODEV@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	cmn	w20, w8
	b.ne	LBB0_5
; %bb.4:
	ldr	w0, [x19, #4]
	bl	_netif_device_detach
LBB0_5:
Lloh20:
	adrp	x0, l_.str@PAGE
Lloh21:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_err
	b	LBB0_7
LBB0_6:
	ldr	w0, [x24]
	mov	x1, x19
	bl	_set_bit
LBB0_7:
	mov	x0, x20
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_REG_SET,4,2                 ; @RX_REG_SET
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_RTL8150_REQT_WRITE,4,2         ; @RTL8150_REQT_WRITE
	.comm	_RTL8150_REQ_SET_REGS,4,2       ; @RTL8150_REQ_SET_REGS
	.comm	_ctrl_callback,4,2              ; @ctrl_callback
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"control request submission failed: %d"

	.no_dead_strip	_async_set_registers
.subsections_via_symbols
