	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _rtl92c_init_trx_buffer
__rtl92c_init_trx_buffer:               ## @_rtl92c_init_trx_buffer
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	callq	_rtl_priv
	movq	%rax, %r14
	movq	%rbx, %rdi
	callq	_rtl_priv
	movq	%rax, %rdi
	callq	_rtl_hal
	testl	%r15d, %r15d
	je	LBB0_1
## %bb.2:
	movl	(%rax), %edi
	callq	_IS_NORMAL_CHIP
	testq	%rax, %rax
	jne	LBB0_3
## %bb.4:
	movq	_WMM_CHIP_A_TX_PAGE_BOUNDARY@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_1:
	movq	_TX_PAGE_BOUNDARY@GOTPCREL(%rip), %rax
	jmp	LBB0_5
LBB0_3:
	movq	_WMM_CHIP_B_TX_PAGE_BOUNDARY@GOTPCREL(%rip), %rax
LBB0_5:
	movl	(%rax), %ebx
	movq	_REG_TXPKTBUF_BCNQ_BDNY@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_rtl_write_byte
	movq	_REG_TXPKTBUF_MGQ_BDNY@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_rtl_write_byte
	movq	_REG_TXPKTBUF_WMAC_LBK_BF_HD@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_rtl_write_byte
	movq	_REG_TRXFF_BNDY@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_rtl_write_byte
	movq	_REG_TDECTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	incq	%rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_rtl_write_byte
	movq	(%r15), %rsi
	addq	$2, %rsi
	movq	%r14, %rdi
	movl	$10239, %edx                    ## imm = 0x27FF
	callq	_rtl_write_word
	movq	_RX_PAGE_SIZE_REG_VALUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	__PSRX
	movl	%eax, %ebx
	movq	_PBP_128@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	__PSTX
	orl	%eax, %ebx
	movq	_REG_PBP@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtl_write_byte                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TX_PAGE_BOUNDARY,4,2           ## @TX_PAGE_BOUNDARY
	.comm	_WMM_CHIP_B_TX_PAGE_BOUNDARY,4,2 ## @WMM_CHIP_B_TX_PAGE_BOUNDARY
	.comm	_WMM_CHIP_A_TX_PAGE_BOUNDARY,4,2 ## @WMM_CHIP_A_TX_PAGE_BOUNDARY
	.comm	_REG_TXPKTBUF_BCNQ_BDNY,8,3     ## @REG_TXPKTBUF_BCNQ_BDNY
	.comm	_REG_TXPKTBUF_MGQ_BDNY,8,3      ## @REG_TXPKTBUF_MGQ_BDNY
	.comm	_REG_TXPKTBUF_WMAC_LBK_BF_HD,8,3 ## @REG_TXPKTBUF_WMAC_LBK_BF_HD
	.comm	_REG_TRXFF_BNDY,8,3             ## @REG_TRXFF_BNDY
	.comm	_REG_TDECTRL,8,3                ## @REG_TDECTRL
	.comm	_RX_PAGE_SIZE_REG_VALUE,4,2     ## @RX_PAGE_SIZE_REG_VALUE
	.comm	_PBP_128,4,2                    ## @PBP_128
	.comm	_REG_PBP,8,3                    ## @REG_PBP
	.no_dead_strip	__rtl92c_init_trx_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _rtl92c_init_trx_buffer
__rtl92c_init_trx_buffer:               ; @_rtl92c_init_trx_buffer
	.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
	mov	x20, x1
	mov	x21, x0
	bl	_rtl_priv
	mov	x19, x0
	mov	x0, x21
	bl	_rtl_priv
	bl	_rtl_hal
	cbz	w20, LBB0_2
; %bb.1:
	ldr	w0, [x0]
	bl	_IS_NORMAL_CHIP
Lloh0:
	adrp	x8, _WMM_CHIP_B_TX_PAGE_BOUNDARY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _WMM_CHIP_B_TX_PAGE_BOUNDARY@GOTPAGEOFF]
Lloh2:
	adrp	x9, _WMM_CHIP_A_TX_PAGE_BOUNDARY@GOTPAGE
Lloh3:
	ldr	x9, [x9, _WMM_CHIP_A_TX_PAGE_BOUNDARY@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
	b	LBB0_3
LBB0_2:
Lloh4:
	adrp	x8, _TX_PAGE_BOUNDARY@GOTPAGE
Lloh5:
	ldr	x8, [x8, _TX_PAGE_BOUNDARY@GOTPAGEOFF]
LBB0_3:
	ldr	w20, [x8]
Lloh6:
	adrp	x8, _REG_TXPKTBUF_BCNQ_BDNY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _REG_TXPKTBUF_BCNQ_BDNY@GOTPAGEOFF]
Lloh8:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_rtl_write_byte
Lloh9:
	adrp	x8, _REG_TXPKTBUF_MGQ_BDNY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _REG_TXPKTBUF_MGQ_BDNY@GOTPAGEOFF]
Lloh11:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_rtl_write_byte
Lloh12:
	adrp	x8, _REG_TXPKTBUF_WMAC_LBK_BF_HD@GOTPAGE
Lloh13:
	ldr	x8, [x8, _REG_TXPKTBUF_WMAC_LBK_BF_HD@GOTPAGEOFF]
Lloh14:
	ldr	x1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_rtl_write_byte
Lloh15:
	adrp	x21, _REG_TRXFF_BNDY@GOTPAGE
Lloh16:
	ldr	x21, [x21, _REG_TRXFF_BNDY@GOTPAGEOFF]
	ldr	x1, [x21]
	mov	x0, x19
	mov	x2, x20
	bl	_rtl_write_byte
Lloh17:
	adrp	x8, _REG_TDECTRL@GOTPAGE
Lloh18:
	ldr	x8, [x8, _REG_TDECTRL@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	add	x1, x8, #1
	mov	x0, x19
	mov	x2, x20
	bl	_rtl_write_byte
	ldr	x8, [x21]
	add	x1, x8, #2
	mov	x0, x19
	mov	w2, #10239
	bl	_rtl_write_word
Lloh20:
	adrp	x8, _RX_PAGE_SIZE_REG_VALUE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _RX_PAGE_SIZE_REG_VALUE@GOTPAGEOFF]
Lloh22:
	ldr	w0, [x8]
	bl	__PSRX
	mov	x20, x0
Lloh23:
	adrp	x8, _PBP_128@GOTPAGE
Lloh24:
	ldr	x8, [x8, _PBP_128@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
	bl	__PSTX
	orr	w2, w0, w20
Lloh26:
	adrp	x8, _REG_PBP@GOTPAGE
Lloh27:
	ldr	x8, [x8, _REG_PBP@GOTPAGEOFF]
Lloh28:
	ldr	x1, [x8]
	mov	x0, x19
	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
	b	_rtl_write_byte
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_TX_PAGE_BOUNDARY,4,2           ; @TX_PAGE_BOUNDARY
	.comm	_WMM_CHIP_B_TX_PAGE_BOUNDARY,4,2 ; @WMM_CHIP_B_TX_PAGE_BOUNDARY
	.comm	_WMM_CHIP_A_TX_PAGE_BOUNDARY,4,2 ; @WMM_CHIP_A_TX_PAGE_BOUNDARY
	.comm	_REG_TXPKTBUF_BCNQ_BDNY,8,3     ; @REG_TXPKTBUF_BCNQ_BDNY
	.comm	_REG_TXPKTBUF_MGQ_BDNY,8,3      ; @REG_TXPKTBUF_MGQ_BDNY
	.comm	_REG_TXPKTBUF_WMAC_LBK_BF_HD,8,3 ; @REG_TXPKTBUF_WMAC_LBK_BF_HD
	.comm	_REG_TRXFF_BNDY,8,3             ; @REG_TRXFF_BNDY
	.comm	_REG_TDECTRL,8,3                ; @REG_TDECTRL
	.comm	_RX_PAGE_SIZE_REG_VALUE,4,2     ; @RX_PAGE_SIZE_REG_VALUE
	.comm	_PBP_128,4,2                    ; @PBP_128
	.comm	_REG_PBP,8,3                    ; @REG_PBP
	.no_dead_strip	__rtl92c_init_trx_buffer
.subsections_via_symbols
