	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtw_phy_tx_power_limit_config  ## -- Begin function rtw_phy_tx_power_limit_config
	.p2align	4, 0x90
_rtw_phy_tx_power_limit_config:         ## @rtw_phy_tx_power_limit_config
	.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	(%rdi), %rax
	movq	_RTW_CHANNEL_WIDTH_20@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	$1, (%rax,%rcx,4)
	movq	_RTW_REGD_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	jle	LBB0_11
## %bb.1:
	movq	%rdi, %r14
	movq	_RTW_CHANNEL_WIDTH_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	xorl	%r15d, %r15d
	movq	_RTW_RATE_SECTION_MAX@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_RTW_REGD_MAX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	incq	%r15
	cmpq	%rcx, %r15
	jge	LBB0_11
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##       Child Loop BB0_6 Depth 3
	testq	%rax, %rax
	jle	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r13), %rcx
	xorl	%r12d, %r12d
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_4 Depth=2
	incq	%r12
	cmpq	%rax, %r12
	jge	LBB0_9
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_6 Depth 3
	testq	%rcx, %rcx
	jle	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=2
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ##   Parent Loop BB0_2 Depth=1
                                        ##     Parent Loop BB0_4 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	callq	___rtw_phy_tx_power_limit_config
	incq	%rbx
	movq	(%r13), %rcx
	cmpq	%rcx, %rbx
	jl	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=2
	movq	_RTW_CHANNEL_WIDTH_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_8
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RTW_CHANNEL_WIDTH_20,8,3       ## @RTW_CHANNEL_WIDTH_20
	.comm	_RTW_REGD_MAX,8,3               ## @RTW_REGD_MAX
	.comm	_RTW_CHANNEL_WIDTH_MAX,8,3      ## @RTW_CHANNEL_WIDTH_MAX
	.comm	_RTW_RATE_SECTION_MAX,8,3       ## @RTW_RATE_SECTION_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rtw_phy_tx_power_limit_config  ; -- Begin function rtw_phy_tx_power_limit_config
	.p2align	2
_rtw_phy_tx_power_limit_config:         ; @rtw_phy_tx_power_limit_config
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _RTW_CHANNEL_WIDTH_20@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RTW_CHANNEL_WIDTH_20@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	mov	w10, #1
	str	w10, [x8, x9, lsl #2]
Lloh3:
	adrp	x23, _RTW_REGD_MAX@GOTPAGE
Lloh4:
	ldr	x23, [x23, _RTW_REGD_MAX@GOTPAGEOFF]
	ldr	x9, [x23]
	cmp	x9, #1
	b.lt	LBB0_11
; %bb.1:
	mov	x19, x0
	mov	x20, #0
Lloh5:
	adrp	x24, _RTW_CHANNEL_WIDTH_MAX@GOTPAGE
Lloh6:
	ldr	x24, [x24, _RTW_CHANNEL_WIDTH_MAX@GOTPAGEOFF]
	ldr	x8, [x24]
Lloh7:
	adrp	x25, _RTW_RATE_SECTION_MAX@GOTPAGE
Lloh8:
	ldr	x25, [x25, _RTW_RATE_SECTION_MAX@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x23]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x20, x20, #1
	cmp	x20, x9
	b.ge	LBB0_11
LBB0_4:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_9 Depth 3
	cmp	x8, #1
	b.lt	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, #0
	ldr	x9, [x25]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	add	x21, x21, #1
	cmp	x21, x8
	b.ge	LBB0_2
LBB0_7:                                 ;   Parent Loop BB0_4 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_9 Depth 3
	cmp	x9, #1
	b.lt	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	mov	x22, #0
LBB0_9:                                 ;   Parent Loop BB0_4 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	bl	___rtw_phy_tx_power_limit_config
	add	x22, x22, #1
	ldr	x9, [x25]
	cmp	x22, x9
	b.lt	LBB0_9
; %bb.10:                               ;   in Loop: Header=BB0_7 Depth=2
	ldr	x8, [x24]
	b	LBB0_6
LBB0_11:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_RTW_CHANNEL_WIDTH_20,8,3       ; @RTW_CHANNEL_WIDTH_20
	.comm	_RTW_REGD_MAX,8,3               ; @RTW_REGD_MAX
	.comm	_RTW_CHANNEL_WIDTH_MAX,8,3      ; @RTW_CHANNEL_WIDTH_MAX
	.comm	_RTW_RATE_SECTION_MAX,8,3       ; @RTW_RATE_SECTION_MAX
.subsections_via_symbols
