	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_supplicant_conf_ap_ht      ## -- Begin function wpa_supplicant_conf_ap_ht
	.p2align	4, 0x90
_wpa_supplicant_conf_ap_ht:             ## @wpa_supplicant_conf_ap_ht
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movl	(%rsi), %edi
	leaq	36(%rdx), %rsi
	callq	_ieee80211_freq_to_chan
	movq	%rax, %rcx
	movq	%rax, (%rbx)
	movq	_NUM_HOSTAPD_MODES@GOTPCREL(%rip), %rdx
	xorl	%eax, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_2
## %bb.1:
	movq	_MSG_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	(%r14), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$-1, %eax
LBB0_2:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NUM_HOSTAPD_MODES,8,3          ## @NUM_HOSTAPD_MODES
	.comm	_MSG_ERROR,4,2                  ## @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unsupported AP mode frequency: %d MHz"

	.comm	_HOSTAPD_MODE_IEEE80211A,8,3    ## @HOSTAPD_MODE_IEEE80211A
	.comm	_HT_CAP_INFO_GREEN_FIELD,4,2    ## @HT_CAP_INFO_GREEN_FIELD
	.comm	_HT_CAP_INFO_MAX_AMSDU_SIZE,4,2 ## @HT_CAP_INFO_MAX_AMSDU_SIZE
	.comm	_HT_CAP_INFO_RX_STBC_MASK,4,2   ## @HT_CAP_INFO_RX_STBC_MASK
	.comm	_HT_CAP_INFO_SHORT_GI20MHZ,4,2  ## @HT_CAP_INFO_SHORT_GI20MHZ
	.comm	_HT_CAP_INFO_SHORT_GI40MHZ,4,2  ## @HT_CAP_INFO_SHORT_GI40MHZ
	.comm	_HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET,4,2 ## @HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET
	.comm	_HT_CAP_INFO_TX_STBC,4,2        ## @HT_CAP_INFO_TX_STBC
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.comm	_WPA_AUTHENTICATING,8,3         ## @WPA_AUTHENTICATING
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wpa_supplicant_conf_ap_ht      ; -- Begin function wpa_supplicant_conf_ap_ht
	.p2align	2
_wpa_supplicant_conf_ap_ht:             ; @wpa_supplicant_conf_ap_ht
	.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	x20, x2
	mov	x19, x1
	ldr	w0, [x1]
	add	x1, x2, #36
	bl	_ieee80211_freq_to_chan
	str	x0, [x20]
Lloh0:
	adrp	x8, _NUM_HOSTAPD_MODES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NUM_HOSTAPD_MODES@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _MSG_ERROR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MSG_ERROR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	w8, [x19]
	str	x8, [sp]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	mov	w0, #-1
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NUM_HOSTAPD_MODES,8,3          ; @NUM_HOSTAPD_MODES
	.comm	_MSG_ERROR,4,2                  ; @MSG_ERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unsupported AP mode frequency: %d MHz"

	.comm	_HOSTAPD_MODE_IEEE80211A,8,3    ; @HOSTAPD_MODE_IEEE80211A
	.comm	_HT_CAP_INFO_GREEN_FIELD,4,2    ; @HT_CAP_INFO_GREEN_FIELD
	.comm	_HT_CAP_INFO_MAX_AMSDU_SIZE,4,2 ; @HT_CAP_INFO_MAX_AMSDU_SIZE
	.comm	_HT_CAP_INFO_RX_STBC_MASK,4,2   ; @HT_CAP_INFO_RX_STBC_MASK
	.comm	_HT_CAP_INFO_SHORT_GI20MHZ,4,2  ; @HT_CAP_INFO_SHORT_GI20MHZ
	.comm	_HT_CAP_INFO_SHORT_GI40MHZ,4,2  ; @HT_CAP_INFO_SHORT_GI40MHZ
	.comm	_HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET,4,2 ; @HT_CAP_INFO_SUPP_CHANNEL_WIDTH_SET
	.comm	_HT_CAP_INFO_TX_STBC,4,2        ; @HT_CAP_INFO_TX_STBC
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.comm	_WPA_AUTHENTICATING,8,3         ; @WPA_AUTHENTICATING
.subsections_via_symbols
