	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nl80211_reg_rule_vht
_nl80211_reg_rule_vht:                  ## @nl80211_reg_rule_vht
	.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
	subq	$24, %rsp
	.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_10
## %bb.1:
	movq	_NL80211_ATTR_FREQ_RANGE_END@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	cmpq	$0, (%rbx,%rax,8)
	je	LBB0_10
## %bb.2:
	movq	_NL80211_ATTR_FREQ_RANGE_MAX_BW@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	cmpq	$0, (%rbx,%rax,8)
	je	LBB0_10
## %bb.3:
	movq	%rsi, %r13
	callq	_nla_get_u32
	movl	%eax, %r14d
	movq	(%r15), %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_nla_get_u32
	movl	%eax, %r15d
	movq	(%r12), %rax
	movq	(%rbx,%rax,8), %rdi
	callq	_nla_get_u32
	cmpl	$80000, %eax                    ## imm = 0x13880
	jl	LBB0_10
## %bb.4:
	movq	(%r13), %rcx
	movq	(%rcx), %rcx
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.5:
	movslq	%r14d, %rdx
	imulq	$274877907, %rdx, %rsi          ## imm = 0x10624DD3
	movq	%rsi, %rdx
	shrq	$63, %rdx
	sarq	$38, %rsi
	addl	%edx, %esi
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	movslq	%r15d, %rdx
	imulq	$274877907, %rdx, %rsi          ## imm = 0x10624DD3
	movq	%rsi, %rdx
	shrq	$63, %rdx
	sarq	$38, %rsi
	addl	%edx, %esi
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	cltq
	imulq	$274877907, %rax, %r12          ## imm = 0x10624DD3
	movq	%r12, %rax
	shrq	$63, %rax
	sarq	$38, %r12
	addl	%eax, %r12d
	xorl	%ebx, %ebx
	movq	_HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET@GOTPCREL(%rip), %r14
	xorl	%r15d, %r15d
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%r15
	addq	$8, %rbx
	cmpq	%rcx, %r15
	jae	LBB0_10
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r13), %rdi
	movl	(%r14), %eax
	testl	%eax, (%rdi,%rbx)
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, 4(%rdi,%rbx)
	je	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	addq	%rbx, %rdi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
                                        ## kill: def $esi killed $esi killed $rsi
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
                                        ## kill: def $edx killed $edx killed $rdx
	movl	%r12d, %ecx
	callq	_nl80211_set_vht_mode
	movq	(%r13), %rax
	movq	(%rax), %rcx
	jmp	LBB0_9
LBB0_10:
	addq	$24, %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_vht
.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_vht
_nl80211_reg_rule_vht:                  ; @nl80211_reg_rule_vht
	.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
	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_10
; %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_10
; %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_10
; %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, #14464
	movk	w8, #1, lsl #16
	cmp	w0, w8
	b.lt	LBB0_10
; %bb.4:
	ldr	x8, [x19]
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %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	x10, w22, w9
	lsr	x11, x10, #63
	asr	x10, x10, #38
	add	w21, w10, w11
	smull	x9, w0, w9
	lsr	x10, x9, #63
	asr	x9, x9, #38
	add	w22, w9, w10
Lloh7:
	adrp	x25, _HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET@GOTPAGE
Lloh8:
	ldr	x25, [x25, _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, #8
	cmp	x24, x8
	b.hs	LBB0_10
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #8]
	add	x0, x9, x23
	ldr	w9, [x0]
	ldr	w10, [x25]
	tst	w10, w9
	b.eq	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w9, [x0, #4]
	cbz	w9, LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x1, x20
	mov	x2, x21
	mov	x3, x22
	bl	_nl80211_set_vht_mode
	ldr	x8, [x19]
	ldr	x8, [x8]
	b	LBB0_6
LBB0_10:
	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 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_vht
.subsections_via_symbols
