	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtl28xxu_rd_regs
_rtl28xxu_rd_regs:                      ## @rtl28xxu_rd_regs
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$32, %rsp
	cmpl	$16384, %esi                    ## imm = 0x4000
	jae	LBB0_1
## %bb.2:
	movq	_CMD_SYS_RD@GOTPCREL(%rip), %rax
	cmpl	$12288, %esi                    ## imm = 0x3000
	jl	LBB0_4
	jmp	LBB0_5
LBB0_1:
	movq	_CMD_IR_RD@GOTPCREL(%rip), %rax
	cmpl	$12288, %esi                    ## imm = 0x3000
	jge	LBB0_5
LBB0_4:
	movq	_CMD_USB_RD@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %eax
	movl	%eax, -8(%rbp)
	movl	%esi, -24(%rbp)
	movl	%ecx, -20(%rbp)
	movq	%rdx, -16(%rbp)
	leaq	-24(%rbp), %rsi
	callq	_rtl28xxu_ctrl_msg
	addq	$32, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_USB_RD,4,2                 ## @CMD_USB_RD
	.comm	_CMD_SYS_RD,4,2                 ## @CMD_SYS_RD
	.comm	_CMD_IR_RD,4,2                  ## @CMD_IR_RD
	.no_dead_strip	_rtl28xxu_rd_regs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtl28xxu_rd_regs
_rtl28xxu_rd_regs:                      ; @rtl28xxu_rd_regs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	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
Lloh0:
	adrp	x8, _CMD_USB_RD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CMD_USB_RD@GOTPAGEOFF]
Lloh2:
	adrp	x9, _CMD_SYS_RD@GOTPAGE
Lloh3:
	ldr	x9, [x9, _CMD_SYS_RD@GOTPAGEOFF]
Lloh4:
	adrp	x10, _CMD_IR_RD@GOTPAGE
Lloh5:
	ldr	x10, [x10, _CMD_IR_RD@GOTPAGEOFF]
	cmp	w1, #4, lsl #12                 ; =16384
	csel	x9, x9, x10, lo
	cmp	w1, #3, lsl #12                 ; =12288
	csel	x8, x8, x9, lt
	ldr	w8, [x8]
	str	w8, [sp, #24]
	stp	w1, w3, [sp, #8]
	str	x2, [sp, #16]
	add	x1, sp, #8
	bl	_rtl28xxu_ctrl_msg
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_USB_RD,4,2                 ; @CMD_USB_RD
	.comm	_CMD_SYS_RD,4,2                 ; @CMD_SYS_RD
	.comm	_CMD_IR_RD,4,2                  ; @CMD_IR_RD
	.no_dead_strip	_rtl28xxu_rd_regs
.subsections_via_symbols
