	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function brcms_c_channel_min_txpower_limits_with_local_constraint
_brcms_c_channel_min_txpower_limits_with_local_constraint: ## @brcms_c_channel_min_txpower_limits_with_local_constraint
	.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
	movl	%edx, %r14d
	movq	%rsi, %r13
	movq	_WL_TX_POWER_CCK_NUM@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	104(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	movl	%r14d, %esi
	callq	_min
	movq	104(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_2
LBB0_3:
	movq	_WL_TX_POWER_OFDM_NUM@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	96(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	movl	%r14d, %esi
	callq	_min
	movq	96(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_5
LBB0_6:
	movq	_BRCMS_NUM_RATES_OFDM@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_15
## %bb.7:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	88(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	movl	%r14d, %esi
	callq	_min
	movq	88(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_8
## %bb.9:
	testl	%eax, %eax
	jle	LBB0_15
## %bb.10:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	80(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	movl	%r14d, %esi
	callq	_min
	movq	80(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_11
## %bb.12:
	testl	%eax, %eax
	jle	LBB0_15
## %bb.13:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	movq	72(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	movl	%r14d, %esi
	callq	_min
	movq	72(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_14
LBB0_15:
	movq	_BRCMS_NUM_RATES_MCS_1_STREAM@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_24
## %bb.16:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	64(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	movl	%r14d, %esi
	callq	_min
	movq	64(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_17
## %bb.18:
	testl	%eax, %eax
	jle	LBB0_24
## %bb.19:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	movq	56(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	movl	%r14d, %esi
	callq	_min
	movq	56(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_20
## %bb.21:
	testl	%eax, %eax
	jle	LBB0_24
## %bb.22:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movq	48(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	movl	%r14d, %esi
	callq	_min
	movq	48(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_23
LBB0_24:
	movq	_BRCMS_NUM_RATES_MCS_2_STREAM@GOTPCREL(%rip), %r12
	cmpl	$0, (%r12)
	jle	LBB0_28
## %bb.25:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_26:                                ## =>This Inner Loop Header: Depth=1
	movq	40(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	movl	%r14d, %esi
	callq	_min
	movq	40(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_26
## %bb.27:
	movl	(%r15), %eax
LBB0_28:
	testl	%eax, %eax
	jle	LBB0_37
## %bb.29:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_30:                                ## =>This Inner Loop Header: Depth=1
	movq	32(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	movl	%r14d, %esi
	callq	_min
	movq	32(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_30
## %bb.31:
	testl	%eax, %eax
	jle	LBB0_37
## %bb.32:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movq	24(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	movl	%r14d, %esi
	callq	_min
	movq	24(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_33
## %bb.34:
	testl	%eax, %eax
	jle	LBB0_37
## %bb.35:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_36:                                ## =>This Inner Loop Header: Depth=1
	movq	16(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	movl	%r14d, %esi
	callq	_min
	movq	16(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r15), %rax
	cmpq	%rax, %rbx
	jl	LBB0_36
LBB0_37:
	cmpl	$0, (%r12)
	jle	LBB0_40
## %bb.38:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_39:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rax
	movq	(%rax,%rbx,8), %rdi
	movl	%r14d, %esi
	callq	_min
	movq	8(%r13), %rcx
	movq	%rax, (%rcx,%rbx,8)
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_39
LBB0_40:
	movq	(%r13), %rdi
	movl	%r14d, %esi
	callq	_min
	movq	%rax, (%r13)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_WL_TX_POWER_CCK_NUM,4,2        ## @WL_TX_POWER_CCK_NUM
	.comm	_WL_TX_POWER_OFDM_NUM,4,2       ## @WL_TX_POWER_OFDM_NUM
	.comm	_BRCMS_NUM_RATES_OFDM,4,2       ## @BRCMS_NUM_RATES_OFDM
	.comm	_BRCMS_NUM_RATES_MCS_1_STREAM,4,2 ## @BRCMS_NUM_RATES_MCS_1_STREAM
	.comm	_BRCMS_NUM_RATES_MCS_2_STREAM,4,2 ## @BRCMS_NUM_RATES_MCS_2_STREAM
	.no_dead_strip	_brcms_c_channel_min_txpower_limits_with_local_constraint
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function brcms_c_channel_min_txpower_limits_with_local_constraint
_brcms_c_channel_min_txpower_limits_with_local_constraint: ; @brcms_c_channel_min_txpower_limits_with_local_constraint
	.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
	mov	x20, x2
	mov	x19, x1
Lloh0:
	adrp	x21, _WL_TX_POWER_CCK_NUM@GOTPAGE
Lloh1:
	ldr	x21, [x21, _WL_TX_POWER_CCK_NUM@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	x22, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #104]
	lsl	x23, x22, #3
	ldr	x0, [x8, x23]
	mov	x1, x20
	bl	_min
	ldr	x8, [x19, #104]
	str	x0, [x8, x23]
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_2
LBB0_3:
Lloh2:
	adrp	x21, _WL_TX_POWER_OFDM_NUM@GOTPAGE
Lloh3:
	ldr	x21, [x21, _WL_TX_POWER_OFDM_NUM@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	x22, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #96]
	lsl	x23, x22, #3
	ldr	x0, [x8, x23]
	mov	x1, x20
	bl	_min
	ldr	x8, [x19, #96]
	str	x0, [x8, x23]
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_5
LBB0_6:
Lloh4:
	adrp	x21, _BRCMS_NUM_RATES_OFDM@GOTPAGE
Lloh5:
	ldr	x21, [x21, _BRCMS_NUM_RATES_OFDM@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.7:
	mov	x22, #0
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #88]
	lsl	x23, x22, #3
	ldr	x0, [x8, x23]
	mov	x1, x20
	bl	_min
	ldr	x8, [x19, #88]
	str	x0, [x8, x23]
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_8
; %bb.9:
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.10:
	mov	x22, #0
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #80]
	lsl	x23, x22, #3
	ldr	x0, [x8, x23]
	mov	x1, x20
	bl	_min
	ldr	x8, [x19, #80]
	str	x0, [x8, x23]
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_11
; %bb.12:
	cmp	w8, #1
	b.lt	LBB0_15
; %bb.13:
	mov	x22, #0
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #72]
	lsl	x23, x22, #3
	ldr	x0, [x8, x23]
	mov	x1, x20
	bl	_min
	ldr	x8, [x19, #72]
	str	x0, [x8, x23]
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_14
LBB0_15:
Lloh6:
	adrp	x21, _BRCMS_NUM_RATES_MCS_1_STREAM@GOTPAGE
Lloh7:
	ldr	x21, [x21, _BRCMS_NUM_RATES_MCS_1_STREAM@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_25
; %bb.16:
	mov	x22, #0
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #64]
	lsl	x23, x22, #3
	ldr	x0, [x8, x23]
	mov	x1, x20
	bl	_min
	ldr	x8, [x19, #64]
	str	x0, [x8, x23]
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_17
; %bb.18:
	cmp	w8, #1
	b.lt	LBB0_25
; %bb.19:
	mov	x22, #0
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #56]
	lsl	x23, x22, #3
	ldr	x0, [x8, x23]
	mov	x1, x20
	bl	_min
	ldr	x8, [x19, #56]
	str	x0, [x8, x23]
	add	x22, x22, #1
	ldrsw	x9, [x21]
	cmp	x22, x9
	b.lt	LBB0_20
; %bb.21:
	mov	x8, x9
	cmp	w9, #1
	b.lt	LBB0_25
; %bb.22:
	mov	x22, #0
LBB0_23:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #48]
	lsl	x23, x22, #3
	ldr	x0, [x8, x23]
	mov	x1, x20
	bl	_min
	ldr	x8, [x19, #48]
	str	x0, [x8, x23]
	add	x22, x22, #1
	ldrsw	x8, [x21]
	cmp	x22, x8
	b.lt	LBB0_23
; %bb.24:
                                        ; kill: def $w8 killed $w8 killed $x8 def $x8
LBB0_25:
Lloh8:
	adrp	x22, _BRCMS_NUM_RATES_MCS_2_STREAM@GOTPAGE
Lloh9:
	ldr	x22, [x22, _BRCMS_NUM_RATES_MCS_2_STREAM@GOTPAGEOFF]
	ldr	w9, [x22]
	cmp	w9, #1
	b.lt	LBB0_29
; %bb.26:
	mov	x23, #0
LBB0_27:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #40]
	lsl	x24, x23, #3
	ldr	x0, [x8, x24]
	mov	x1, x20
	bl	_min
	ldr	x8, [x19, #40]
	str	x0, [x8, x24]
	add	x23, x23, #1
	ldrsw	x8, [x22]
	cmp	x23, x8
	b.lt	LBB0_27
; %bb.28:
	ldr	w8, [x21]
LBB0_29:
	cmp	w8, #1
	b.lt	LBB0_38
; %bb.30:
	mov	x23, #0
LBB0_31:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	lsl	x24, x23, #3
	ldr	x0, [x8, x24]
	mov	x1, x20
	bl	_min
	ldr	x8, [x19, #32]
	str	x0, [x8, x24]
	add	x23, x23, #1
	ldrsw	x8, [x21]
	cmp	x23, x8
	b.lt	LBB0_31
; %bb.32:
	cmp	w8, #1
	b.lt	LBB0_38
; %bb.33:
	mov	x23, #0
LBB0_34:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	lsl	x24, x23, #3
	ldr	x0, [x8, x24]
	mov	x1, x20
	bl	_min
	ldr	x8, [x19, #24]
	str	x0, [x8, x24]
	add	x23, x23, #1
	ldrsw	x8, [x21]
	cmp	x23, x8
	b.lt	LBB0_34
; %bb.35:
	cmp	w8, #1
	b.lt	LBB0_38
; %bb.36:
	mov	x23, #0
LBB0_37:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #16]
	lsl	x24, x23, #3
	ldr	x0, [x8, x24]
	mov	x1, x20
	bl	_min
	ldr	x8, [x19, #16]
	str	x0, [x8, x24]
	add	x23, x23, #1
	ldrsw	x8, [x21]
	cmp	x23, x8
	b.lt	LBB0_37
LBB0_38:
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_41
; %bb.39:
	mov	x21, #0
LBB0_40:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	lsl	x23, x21, #3
	ldr	x0, [x8, x23]
	mov	x1, x20
	bl	_min
	ldr	x8, [x19, #8]
	str	x0, [x8, x23]
	add	x21, x21, #1
	ldrsw	x8, [x22]
	cmp	x21, x8
	b.lt	LBB0_40
LBB0_41:
	ldr	x0, [x19]
	mov	x1, x20
	bl	_min
	str	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
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_WL_TX_POWER_CCK_NUM,4,2        ; @WL_TX_POWER_CCK_NUM
	.comm	_WL_TX_POWER_OFDM_NUM,4,2       ; @WL_TX_POWER_OFDM_NUM
	.comm	_BRCMS_NUM_RATES_OFDM,4,2       ; @BRCMS_NUM_RATES_OFDM
	.comm	_BRCMS_NUM_RATES_MCS_1_STREAM,4,2 ; @BRCMS_NUM_RATES_MCS_1_STREAM
	.comm	_BRCMS_NUM_RATES_MCS_2_STREAM,4,2 ; @BRCMS_NUM_RATES_MCS_2_STREAM
	.no_dead_strip	_brcms_c_channel_min_txpower_limits_with_local_constraint
.subsections_via_symbols
