	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92ee_set_desc               ## -- Begin function rtl92ee_set_desc
	.p2align	4, 0x90
_rtl92ee_set_desc:                      ## @rtl92ee_set_desc
	.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	%r8, %r12
	movl	%ecx, %r13d
	movl	%edx, %r14d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_rtl_priv
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.1:
	movslq	(%r12), %r12
	cmpl	$131, %r13d
	je	LBB0_4
## %bb.2:
	cmpl	$128, %r13d
	jne	LBB0_11
## %bb.3:
	movq	%r15, %rdi
	movl	%r12d, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_tx_desc_next_desc_address  ## TAILCALL
LBB0_6:
	cmpl	$130, %r13d
	je	LBB0_9
## %bb.7:
	cmpl	$129, %r13d
	jne	LBB0_10
## %bb.8:
	movq	(%rax), %rax
	movq	(%rax), %rax
	movl	(%rax), %r14d
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_set_rx_buffer_desc_ls
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_set_rx_buffer_desc_fs
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_set_rx_buffer_desc_total_length
	movq	_MAX_RECEIVE_BUFFER_SIZE@GOTPCREL(%rip), %rax
	movq	_RX_DESC_SIZE@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	movq	%r15, %rdi
	callq	_set_rx_buffer_desc_data_length
	movl	(%r12), %ebx
	movl	$32, %edi
	callq	_DMA_BIT_MASK
	andl	%eax, %ebx
	movq	%r15, %rdi
	movl	%ebx, %esi
	callq	_set_rx_buffer_physical_low
	movq	%r15, %rdi
	movl	%r14d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_rx_buffer_physical_high    ## TAILCALL
LBB0_4:
	movq	%rax, %r13
	movq	%rbx, %rdi
	callq	_rtl_pcipriv
	movl	%eax, %edi
	callq	_rtl_pcidev
	movq	(%rax), %rbx
	movq	_BEACON_QUEUE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jne	LBB0_5
## %bb.12:
	leaq	(%r12,%r12,2), %rax
	movq	$0, 4(%rbx,%rax,4)
	movq	%r15, %rdi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_tx_buff_desc_own           ## TAILCALL
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	%r15, %rdi
	movl	$1, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_rx_desc_eor                ## TAILCALL
LBB0_10:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	movl	%r13d, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WARN_ONCE                      ## TAILCALL
LBB0_5:
	leaq	(%r12,%r12,2), %r14
	movl	4(%rbx,%r14,4), %eax
	incl	%eax
	cltd
	idivl	(%rbx,%r14,4)
	movl	%edx, 4(%rbx,%r14,4)
	movl	%r12d, %edi
	callq	_get_desc_addr_fr_q_idx
	movl	4(%rbx,%r14,4), %edx
	movq	%r13, %rdi
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_write_word                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BEACON_QUEUE,4,2               ## @BEACON_QUEUE
	.comm	_MAX_RECEIVE_BUFFER_SIZE,8,3    ## @MAX_RECEIVE_BUFFER_SIZE
	.comm	_RX_DESC_SIZE,8,3               ## @RX_DESC_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rtl8192ee: ERR rxdesc :%d not processed\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl92ee_set_desc               ; -- Begin function rtl92ee_set_desc
	.p2align	2
_rtl92ee_set_desc:                      ; @rtl92ee_set_desc
	.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	x21, x4
	mov	x22, x3
	mov	x24, x2
	mov	x19, x1
	mov	x23, x0
	bl	_rtl_priv
	mov	x20, x0
	cbz	w24, LBB0_4
; %bb.1:
	ldrsw	x21, [x21]
	cmp	w22, #131
	b.eq	LBB0_7
; %bb.2:
	cmp	w22, #128
	b.ne	LBB0_9
; %bb.3:
	mov	x0, x19
	mov	x1, x21
	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
	b	_set_tx_desc_next_desc_address
LBB0_4:
	cmp	w22, #130
	b.eq	LBB0_10
; %bb.5:
	cmp	w22, #129
	b.ne	LBB0_11
; %bb.6:
	ldr	x8, [x20]
	ldr	x8, [x8]
	ldr	w20, [x8]
	mov	x0, x19
	mov	w1, #0
	bl	_set_rx_buffer_desc_ls
	mov	x0, x19
	mov	w1, #0
	bl	_set_rx_buffer_desc_fs
	mov	x0, x19
	mov	w1, #0
	bl	_set_rx_buffer_desc_total_length
Lloh0:
	adrp	x8, _MAX_RECEIVE_BUFFER_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_RECEIVE_BUFFER_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _RX_DESC_SIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RX_DESC_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x19
	bl	_set_rx_buffer_desc_data_length
	ldr	w21, [x21]
	mov	w0, #32
	bl	_DMA_BIT_MASK
	and	w1, w0, w21
	mov	x0, x19
	bl	_set_rx_buffer_physical_low
	mov	x0, x19
	mov	x2, 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
	b	_set_rx_buffer_physical_high
LBB0_7:
	mov	x0, x23
	bl	_rtl_pcipriv
	bl	_rtl_pcidev
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _BEACON_QUEUE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _BEACON_QUEUE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	cmp	w21, w9
	b.ne	LBB0_12
; %bb.8:
	mov	w9, #12
	madd	x8, x21, x9, x8
	stp	wzr, wzr, [x8, #4]
	mov	x0, x19
	mov	w1, #1
	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
	b	_set_tx_buff_desc_own
LBB0_9:
	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
LBB0_10:
	mov	x0, x19
	mov	w1, #1
	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
	b	_set_rx_desc_eor
LBB0_11:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	mov	x2, x22
	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
	b	_WARN_ONCE
LBB0_12:
	mov	w9, #12
	madd	x19, x21, x9, x8
	ldp	w8, w9, [x19]
	add	w9, w9, #1
	sdiv	w10, w9, w8
	msub	w8, w10, w8, w9
	str	w8, [x19, #4]
	mov	x0, x21
	bl	_get_desc_addr_fr_q_idx
	mov	x1, x0
	ldr	w2, [x19, #4]
	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
	b	_rtl_write_word
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_BEACON_QUEUE,4,2               ; @BEACON_QUEUE
	.comm	_MAX_RECEIVE_BUFFER_SIZE,8,3    ; @MAX_RECEIVE_BUFFER_SIZE
	.comm	_RX_DESC_SIZE,8,3               ; @RX_DESC_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rtl8192ee: ERR rxdesc :%d not processed\n"

.subsections_via_symbols
