	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl_rx_ampdu_apply             ## -- Begin function rtl_rx_ampdu_apply
	.p2align	4, 0x90
_rtl_rx_ampdu_apply:                    ## @rtl_rx_ampdu_apply
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	16(%rdi), %r15
	movq	$0, -48(%rbp)
	movq	$0, -40(%rbp)
	movq	$0, -32(%rbp)
	movq	8(%rdi), %rax
	movq	(%rax), %rcx
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	*(%rcx)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	leaq	-48(%rbp), %rsi
	leaq	-40(%rbp), %rdx
	leaq	-32(%rbp), %rcx
	movq	%rbx, %rdi
	callq	*(%r15)
	movq	-48(%rbp), %r8
	movq	-40(%rbp), %r9
	movq	-32(%rbp), %r14
	jmp	LBB0_3
LBB0_1:
	xorl	%r9d, %r9d
	xorl	%r8d, %r8d
LBB0_3:
	movq	_COMP_BT_COEXIST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_DBG_DMESG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, (%rsp)
	leaq	L_.str(%rip), %rcx
	movq	%rbx, %rdi
	callq	_RT_TRACE
	cmpq	$0, -40(%rbp)
	jne	LBB0_4
## %bb.5:
	movq	_IEEE80211_MAX_AMPDU_BUF_HT@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	leaq	-32(%rbp), %rax
LBB0_6:
	movq	(%rax), %rax
	movq	(%rbx), %rcx
	movq	%rax, (%rcx)
	addq	$40, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_COMP_BT_COEXIST,4,2            ## @COMP_BT_COEXIST
	.comm	_DBG_DMESG,4,2                  ## @DBG_DMESG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Set RX AMPDU: coex - reject=%d, ctrl_agg_size=%d, size=%d"

	.comm	_IEEE80211_MAX_AMPDU_BUF_HT,8,3 ## @IEEE80211_MAX_AMPDU_BUF_HT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtl_rx_ampdu_apply             ; -- Begin function rtl_rx_ampdu_apply
	.p2align	2
_rtl_rx_ampdu_apply:                    ; @rtl_rx_ampdu_apply
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	stp	xzr, xzr, [sp, #16]
	str	xzr, [sp, #8]
	ldp	x8, x20, [x0, #8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	blr	x8
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x20]
	add	x1, sp, #24
	add	x2, sp, #16
	add	x3, sp, #8
	mov	x0, x19
	blr	x8
	ldp	x5, x4, [sp, #16]
	ldr	x6, [sp, #8]
	b	LBB0_3
LBB0_2:
	mov	x6, #0
	mov	x5, #0
	mov	x4, #0
LBB0_3:
Lloh0:
	adrp	x8, _COMP_BT_COEXIST@GOTPAGE
Lloh1:
	ldr	x8, [x8, _COMP_BT_COEXIST@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _DBG_DMESG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DBG_DMESG@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	bl	_RT_TRACE
	ldr	x8, [sp, #16]
Lloh8:
	adrp	x9, _IEEE80211_MAX_AMPDU_BUF_HT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _IEEE80211_MAX_AMPDU_BUF_HT@GOTPAGEOFF]
	add	x10, sp, #8
	cmp	x8, #0
	csel	x8, x9, x10, eq
	ldr	x8, [x8]
	ldr	x9, [x19]
	str	x8, [x9]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_COMP_BT_COEXIST,4,2            ; @COMP_BT_COEXIST
	.comm	_DBG_DMESG,4,2                  ; @DBG_DMESG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Set RX AMPDU: coex - reject=%d, ctrl_agg_size=%d, size=%d"

	.comm	_IEEE80211_MAX_AMPDU_BUF_HT,8,3 ; @IEEE80211_MAX_AMPDU_BUF_HT
.subsections_via_symbols
