	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtw8822b_coex_cfg_wl_tx_power
_rtw8822b_coex_cfg_wl_tx_power:         ## @rtw8822b_coex_cfg_wl_tx_power
	.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
	cmpl	%esi, (%rdi)
	je	LBB0_7
## %bb.1:
	movl	%esi, %ebx
	movq	%rdi, %r12
	movl	%esi, (%rdi)
	leaq	_rtw8822b_coex_cfg_wl_tx_power.wl_tx_power(%rip), %r15
	movq	%r15, %rdi
	callq	_ARRAY_SIZE
	cmpl	%ebx, %eax
	jle	LBB0_3
## %bb.2:
	movl	(%r12), %ebx
	jmp	LBB0_4
LBB0_3:
	leaq	_rtw8822b_coex_cfg_wl_tx_power.wl_tx_power(%rip), %rdi
	callq	_ARRAY_SIZE
	movl	%eax, %ebx
	decl	%ebx
	movl	%ebx, (%r12)
LBB0_4:
	leaq	_rtw8822b_coex_cfg_wl_tx_power.reg_addr(%rip), %r14
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_7
## %bb.5:
	movslq	%ebx, %rax
	movl	(%r15,%rax,4), %r15d
	xorl	%r13d, %r13d
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	movq	%r12, %rdi
	movl	$255, %edx
	movl	%r15d, %ecx
	callq	_rtw_write8_mask
	incq	%r13
	movq	%r14, %rdi
	callq	_ARRAY_SIZE
	cltq
	addq	$4, %rbx
	cmpq	%rax, %r13
	jl	LBB0_6
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	2                               ## @rtw8822b_coex_cfg_wl_tx_power.reg_addr
_rtw8822b_coex_cfg_wl_tx_power.reg_addr:
	.long	3160                            ## 0xc58
	.long	3672                            ## 0xe58

	.p2align	4                               ## @rtw8822b_coex_cfg_wl_tx_power.wl_tx_power
_rtw8822b_coex_cfg_wl_tx_power.wl_tx_power:
	.long	216                             ## 0xd8
	.long	212                             ## 0xd4
	.long	208                             ## 0xd0
	.long	204                             ## 0xcc
	.long	200                             ## 0xc8

	.no_dead_strip	_rtw8822b_coex_cfg_wl_tx_power
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtw8822b_coex_cfg_wl_tx_power
_rtw8822b_coex_cfg_wl_tx_power:         ; @rtw8822b_coex_cfg_wl_tx_power
	.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	w8, [x0]
	cmp	w8, w1
	b.eq	LBB0_7
; %bb.1:
	mov	x21, x1
	mov	x19, x0
	str	w1, [x0]
Lloh0:
	adrp	x20, _rtw8822b_coex_cfg_wl_tx_power.wl_tx_power@PAGE
Lloh1:
	add	x20, x20, _rtw8822b_coex_cfg_wl_tx_power.wl_tx_power@PAGEOFF
	mov	x0, x20
	bl	_ARRAY_SIZE
	cmp	w0, w21
	b.le	LBB0_3
; %bb.2:
	ldr	w23, [x19]
	b	LBB0_4
LBB0_3:
Lloh2:
	adrp	x0, _rtw8822b_coex_cfg_wl_tx_power.wl_tx_power@PAGE
Lloh3:
	add	x0, x0, _rtw8822b_coex_cfg_wl_tx_power.wl_tx_power@PAGEOFF
	bl	_ARRAY_SIZE
	sub	w23, w0, #1
	str	w23, [x19]
LBB0_4:
Lloh4:
	adrp	x21, _rtw8822b_coex_cfg_wl_tx_power.reg_addr@PAGE
Lloh5:
	add	x21, x21, _rtw8822b_coex_cfg_wl_tx_power.reg_addr@PAGEOFF
	mov	x0, x21
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_7
; %bb.5:
	mov	x22, #0
	ldr	w20, [x20, w23, sxtw #2]
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21, x22, lsl #2]
	mov	x0, x19
	mov	w2, #255
	mov	x3, x20
	bl	_rtw_write8_mask
	add	x22, x22, #1
	mov	x0, x21
	bl	_ARRAY_SIZE
	cmp	x22, w0, sxtw
	b.lt	LBB0_6
LBB0_7:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @rtw8822b_coex_cfg_wl_tx_power.reg_addr
_rtw8822b_coex_cfg_wl_tx_power.reg_addr:
	.long	3160                            ; 0xc58
	.long	3672                            ; 0xe58

	.p2align	2                               ; @rtw8822b_coex_cfg_wl_tx_power.wl_tx_power
_rtw8822b_coex_cfg_wl_tx_power.wl_tx_power:
	.long	216                             ; 0xd8
	.long	212                             ; 0xd4
	.long	208                             ; 0xd0
	.long	204                             ; 0xcc
	.long	200                             ; 0xc8

	.no_dead_strip	_rtw8822b_coex_cfg_wl_tx_power
.subsections_via_symbols
