	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function drv_supports_vht
_drv_supports_vht:                      ## @drv_supports_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	(%rsi), %edi
	leaq	-12(%rbp), %rsi
	callq	_ieee80211_freq_to_chan
	movq	_NUM_HOSTAPD_MODES@GOTPCREL(%rip), %rdx
	xorl	%ecx, %ecx
	cmpl	(%rdx), %eax
	je	LBB0_8
## %bb.1:
	movq	8(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.2:
	movl	(%rbx), %esi
	xorl	%ecx, %ecx
	testl	%esi, %esi
	cmovlel	%ecx, %esi
	jle	LBB0_8
## %bb.3:
	shlq	$4, %rsi
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	%eax, (%rdx,%rdi)
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	addq	$16, %rdi
	cmpq	%rdi, %rsi
	jne	LBB0_4
## %bb.6:
	xorl	%ecx, %ecx
	jmp	LBB0_8
LBB0_7:
	xorl	%ecx, %ecx
	cmpq	$0, 8(%rdx,%rdi)
	setne	%cl
LBB0_8:
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_HOSTAPD_MODES,4,2          ## @NUM_HOSTAPD_MODES
	.no_dead_strip	_drv_supports_vht
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function drv_supports_vht
_drv_supports_vht:                      ; @drv_supports_vht
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x1]
	add	x1, sp, #12
	bl	_ieee80211_freq_to_chan
Lloh0:
	adrp	x8, _NUM_HOSTAPD_MODES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_HOSTAPD_MODES@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_6
; %bb.1:
	ldr	x9, [x19, #8]
	cbz	x9, LBB0_6
; %bb.2:
	ldr	w10, [x19]
	cmp	w10, #0
	csel	w8, w10, wzr, gt
	cmp	w10, #1
	b.lt	LBB0_6
; %bb.3:
	add	x9, x9, #8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldur	w10, [x9, #-8]
	cmp	w10, w0
	b.eq	LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x9, x9, #16
	subs	x8, x8, #1
	b.ne	LBB0_4
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_8:
	ldr	x8, [x9]
	cmp	x8, #0
	cset	w0, ne
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_HOSTAPD_MODES,4,2          ; @NUM_HOSTAPD_MODES
	.no_dead_strip	_drv_supports_vht
.subsections_via_symbols
