	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw_coex_limited_tx
_rtw_coex_limited_tx:                   ## @rtw_coex_limited_tx
	.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
	movq	24(%rdi), %rax
	cmpl	$0, (%rax)
	je	LBB0_13
## %bb.1:
	movl	%edx, %r14d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	(%rdi), %eax
	cmpl	%esi, %eax
	jne	LBB0_3
## %bb.2:
	cmpl	%r14d, 4(%rbx)
	jne	LBB0_3
LBB0_13:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	cmpl	$0, 4(%rbx)
	je	LBB0_6
LBB0_7:
	movl	%r15d, (%rbx)
	movl	%r14d, 4(%rbx)
	movq	_REG_TX_HANG_CTRL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_BIT_EN_GNT_BT_AWAKE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	testl	%r15d, %r15d
	je	LBB0_9
## %bb.8:
	callq	_rtw_write8_set
	movq	_REG_LIFETIME_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$15, %edx
	callq	_rtw_write8_set
	movq	_REG_RETRY_LIMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$2056, %edx                     ## imm = 0x808
	callq	_rtw_write16
	movq	_REG_DARFRC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$16777216, %edx                 ## imm = 0x1000000
	callq	_rtw_write32
	movl	$67305985, %edx                 ## imm = 0x4030201
	jmp	LBB0_10
LBB0_9:
	callq	_rtw_write8_clr
	movq	_REG_LIFETIME_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	movl	$15, %edx
	callq	_rtw_write8_clr
	movq	_REG_RETRY_LIMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%rbx), %edx
	movq	%rbx, %rdi
	callq	_rtw_write16
	movq	_REG_DARFRC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %edx
	movq	%rbx, %rdi
	callq	_rtw_write32
	movl	12(%rbx), %edx
LBB0_10:
	movq	_REG_DARFRCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rtw_write32
	movq	_REG_AMPDU_MAX_TIME_V1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$32, %edx
	testl	%r14d, %r14d
	jne	LBB0_12
## %bb.11:
	movl	20(%rbx), %edx
LBB0_12:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtw_write8                     ## TAILCALL
LBB0_4:
	movq	_REG_DARFRC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rtw_read32
	movl	%eax, 8(%rbx)
	movq	_REG_DARFRCH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rtw_read32
	movl	%eax, 12(%rbx)
	movq	_REG_RETRY_LIMIT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rtw_read16
	movl	%eax, 16(%rbx)
	cmpl	$0, 4(%rbx)
	jne	LBB0_7
LBB0_6:
	movq	_REG_AMPDU_MAX_TIME_V1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_rtw_read8
	movl	%eax, 20(%rbx)
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_REG_DARFRC,4,2                 ## @REG_DARFRC
	.comm	_REG_DARFRCH,4,2                ## @REG_DARFRCH
	.comm	_REG_RETRY_LIMIT,4,2            ## @REG_RETRY_LIMIT
	.comm	_REG_AMPDU_MAX_TIME_V1,4,2      ## @REG_AMPDU_MAX_TIME_V1
	.comm	_REG_TX_HANG_CTRL,4,2           ## @REG_TX_HANG_CTRL
	.comm	_BIT_EN_GNT_BT_AWAKE,4,2        ## @BIT_EN_GNT_BT_AWAKE
	.comm	_REG_LIFETIME_EN,4,2            ## @REG_LIFETIME_EN
	.no_dead_strip	_rtw_coex_limited_tx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtw_coex_limited_tx
_rtw_coex_limited_tx:                   ; @rtw_coex_limited_tx
	.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
	ldr	x8, [x0, #24]
	ldr	w8, [x8]
	cbz	w8, LBB0_3
; %bb.1:
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, w1
	b.ne	LBB0_4
; %bb.2:
	ldr	w9, [x19, #4]
	cmp	w9, w20
	b.ne	LBB0_4
LBB0_3:
	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_4:
Lloh0:
	adrp	x22, _REG_DARFRCH@GOTPAGE
Lloh1:
	ldr	x22, [x22, _REG_DARFRCH@GOTPAGEOFF]
	cbnz	w8, LBB0_6
; %bb.5:
Lloh2:
	adrp	x8, _REG_DARFRC@GOTPAGE
Lloh3:
	ldr	x8, [x8, _REG_DARFRC@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rtw_read32
	str	w0, [x19, #8]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_rtw_read32
	str	w0, [x19, #12]
Lloh5:
	adrp	x8, _REG_RETRY_LIMIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _REG_RETRY_LIMIT@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rtw_read16
	str	w0, [x19, #16]
LBB0_6:
	ldr	w8, [x19, #4]
Lloh8:
	adrp	x23, _REG_AMPDU_MAX_TIME_V1@GOTPAGE
Lloh9:
	ldr	x23, [x23, _REG_AMPDU_MAX_TIME_V1@GOTPAGEOFF]
	cbnz	w8, LBB0_8
; %bb.7:
	ldr	w1, [x23]
	mov	x0, x19
	bl	_rtw_read8
	str	w0, [x19, #20]
LBB0_8:
	stp	w21, w20, [x19]
Lloh10:
	adrp	x8, _REG_TX_HANG_CTRL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _REG_TX_HANG_CTRL@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _BIT_EN_GNT_BT_AWAKE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _BIT_EN_GNT_BT_AWAKE@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x19
	cbz	w21, LBB0_10
; %bb.9:
	bl	_rtw_write8_set
Lloh16:
	adrp	x8, _REG_LIFETIME_EN@GOTPAGE
Lloh17:
	ldr	x8, [x8, _REG_LIFETIME_EN@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #15
	bl	_rtw_write8_set
Lloh19:
	adrp	x8, _REG_RETRY_LIMIT@GOTPAGE
Lloh20:
	ldr	x8, [x8, _REG_RETRY_LIMIT@GOTPAGEOFF]
Lloh21:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #2056
	bl	_rtw_write16
Lloh22:
	adrp	x8, _REG_DARFRC@GOTPAGE
Lloh23:
	ldr	x8, [x8, _REG_DARFRC@GOTPAGEOFF]
Lloh24:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #16777216
	bl	_rtw_write32
	mov	w2, #513
	movk	w2, #1027, lsl #16
	b	LBB0_11
LBB0_10:
	bl	_rtw_write8_clr
Lloh25:
	adrp	x8, _REG_LIFETIME_EN@GOTPAGE
Lloh26:
	ldr	x8, [x8, _REG_LIFETIME_EN@GOTPAGEOFF]
Lloh27:
	ldr	w1, [x8]
	mov	x0, x19
	mov	w2, #15
	bl	_rtw_write8_clr
Lloh28:
	adrp	x8, _REG_RETRY_LIMIT@GOTPAGE
Lloh29:
	ldr	x8, [x8, _REG_RETRY_LIMIT@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	ldr	w2, [x19, #16]
	mov	x0, x19
	bl	_rtw_write16
Lloh31:
	adrp	x8, _REG_DARFRC@GOTPAGE
Lloh32:
	ldr	x8, [x8, _REG_DARFRC@GOTPAGEOFF]
Lloh33:
	ldr	w1, [x8]
	ldr	w2, [x19, #8]
	mov	x0, x19
	bl	_rtw_write32
	ldr	w2, [x19, #12]
LBB0_11:
	ldr	w1, [x22]
	mov	x0, x19
	bl	_rtw_write32
	ldr	w1, [x23]
	cbz	w20, LBB0_13
; %bb.12:
	mov	w2, #32
	b	LBB0_14
LBB0_13:
	ldr	w2, [x19, #20]
LBB0_14:
	mov	x0, x19
	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	_rtw_write8
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_REG_DARFRC,4,2                 ; @REG_DARFRC
	.comm	_REG_DARFRCH,4,2                ; @REG_DARFRCH
	.comm	_REG_RETRY_LIMIT,4,2            ; @REG_RETRY_LIMIT
	.comm	_REG_AMPDU_MAX_TIME_V1,4,2      ; @REG_AMPDU_MAX_TIME_V1
	.comm	_REG_TX_HANG_CTRL,4,2           ; @REG_TX_HANG_CTRL
	.comm	_BIT_EN_GNT_BT_AWAKE,4,2        ; @BIT_EN_GNT_BT_AWAKE
	.comm	_REG_LIFETIME_EN,4,2            ; @REG_LIFETIME_EN
	.no_dead_strip	_rtw_coex_limited_tx
.subsections_via_symbols
