	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_reg_rule_sec
_nl80211_reg_rule_sec:                  ## @nl80211_reg_rule_sec
	.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, %rbx
	movq	_NL80211_ATTR_FREQ_RANGE_START@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rdi,%rax,8), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.1:
	movq	_NL80211_ATTR_FREQ_RANGE_END@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	cmpq	$0, (%rbx,%rax,8)
	je	LBB0_9
## %bb.2:
	movq	_NL80211_ATTR_FREQ_RANGE_MAX_BW@GOTPCREL(%rip), %r13
	movq	(%r13), %rax
	cmpq	$0, (%rbx,%rax,8)
	je	LBB0_9
## %bb.3:
	movq	%rsi, %r12
	callq	_nla_get_u32
	movl	%eax, %r14d
	movq	(%r15), %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_nla_get_u32
	movl	%eax, %r15d
	movq	(%r13), %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_nla_get_u32
	cmpl	$20000, %eax                    ## imm = 0x4E20
	jl	LBB0_9
## %bb.4:
	movq	(%r12), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movslq	%r14d, %rcx
	imulq	$274877907, %rcx, %r14          ## imm = 0x10624DD3
	movq	%r14, %rcx
	shrq	$63, %rcx
	sarq	$38, %r14
	addl	%ecx, %r14d
	movslq	%r15d, %rcx
	imulq	$274877907, %rcx, %r15          ## imm = 0x10624DD3
	movq	%r15, %rcx
	shrq	$63, %rcx
	sarq	$38, %r15
	addl	%ecx, %r15d
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%r13
	addq	$4, %rbx
	cmpq	%rax, %r13
	jae	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %rdi
	movq	_HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rdi,%rbx)
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	addq	%rbx, %rdi
	movl	%r14d, %esi
	movl	%r15d, %edx
	callq	_nl80211_set_ht40_mode_sec
	movq	(%r12), %rax
	movq	(%rax), %rax
	jmp	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_ATTR_FREQ_RANGE_START,8,3 ## @NL80211_ATTR_FREQ_RANGE_START
	.comm	_NL80211_ATTR_FREQ_RANGE_END,8,3 ## @NL80211_ATTR_FREQ_RANGE_END
	.comm	_NL80211_ATTR_FREQ_RANGE_MAX_BW,8,3 ## @NL80211_ATTR_FREQ_RANGE_MAX_BW
	.comm	_HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET,4,2 ## @HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET
	.no_dead_strip	_nl80211_reg_rule_sec
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nl80211_reg_rule_sec
_nl80211_reg_rule_sec:                  ; @nl80211_reg_rule_sec
	.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, x0
Lloh0:
	adrp	x8, _NL80211_ATTR_FREQ_RANGE_START@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NL80211_ATTR_FREQ_RANGE_START@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x0, [x0, x8, lsl #3]
	cbz	x0, LBB0_9
; %bb.1:
Lloh3:
	adrp	x22, _NL80211_ATTR_FREQ_RANGE_END@GOTPAGE
Lloh4:
	ldr	x22, [x22, _NL80211_ATTR_FREQ_RANGE_END@GOTPAGEOFF]
	ldr	x8, [x22]
	ldr	x8, [x20, x8, lsl #3]
	cbz	x8, LBB0_9
; %bb.2:
Lloh5:
	adrp	x23, _NL80211_ATTR_FREQ_RANGE_MAX_BW@GOTPAGE
Lloh6:
	ldr	x23, [x23, _NL80211_ATTR_FREQ_RANGE_MAX_BW@GOTPAGEOFF]
	ldr	x8, [x23]
	ldr	x8, [x20, x8, lsl #3]
	cbz	x8, LBB0_9
; %bb.3:
	mov	x19, x1
	bl	_nla_get_u32
	mov	x21, x0
	ldr	x8, [x22]
	ldr	x0, [x20, x8, lsl #3]
	bl	_nla_get_u32
	mov	x22, x0
	ldr	x8, [x23]
	ldr	x0, [x20, x8, lsl #3]
	bl	_nla_get_u32
	mov	w8, #20000
	cmp	w0, w8
	b.lt	LBB0_9
; %bb.4:
	ldr	x8, [x19]
	ldr	x8, [x8]
	cbz	x8, LBB0_9
; %bb.5:
	mov	x23, #0
	mov	x24, #0
	mov	w9, #19923
	movk	w9, #4194, lsl #16
	smull	x10, w21, w9
	lsr	x11, x10, #63
	asr	x10, x10, #38
	add	w20, w10, w11
	smull	x9, w22, w9
	lsr	x10, x9, #63
	asr	x9, x9, #38
	add	w21, w9, w10
Lloh7:
	adrp	x22, _HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET@GOTPAGE
Lloh8:
	ldr	x22, [x22, _HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x24, x24, #1
	add	x23, x23, #4
	cmp	x24, x8
	b.hs	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #8]
	add	x0, x9, x23
	ldr	w9, [x0]
	ldr	w10, [x22]
	tst	w10, w9
	b.eq	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x1, x20
	mov	x2, x21
	bl	_nl80211_set_ht40_mode_sec
	ldr	x8, [x19]
	ldr	x8, [x8]
	b	LBB0_6
LBB0_9:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_ATTR_FREQ_RANGE_START,8,3 ; @NL80211_ATTR_FREQ_RANGE_START
	.comm	_NL80211_ATTR_FREQ_RANGE_END,8,3 ; @NL80211_ATTR_FREQ_RANGE_END
	.comm	_NL80211_ATTR_FREQ_RANGE_MAX_BW,8,3 ; @NL80211_ATTR_FREQ_RANGE_MAX_BW
	.comm	_HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET,4,2 ; @HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET
	.no_dead_strip	_nl80211_reg_rule_sec
.subsections_via_symbols
