	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_eid_secondary_channel  ## -- Begin function hostapd_eid_secondary_channel
	.p2align	4, 0x90
_hostapd_eid_secondary_channel:         ## @hostapd_eid_secondary_channel
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %rax
	cmpl	$0, 4(%rdi)
	je	LBB0_6
## %bb.1:
	movl	(%rdi), %ecx
	cmpl	$-1, %ecx
	je	LBB0_2
## %bb.3:
	cmpl	$1, %ecx
	jne	LBB0_6
## %bb.4:
	movq	_HT_INFO_HT_PARAM_SECONDARY_CHNL_ABOVE@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_2:
	movq	_HT_INFO_HT_PARAM_SECONDARY_CHNL_BELOW@GOTPCREL(%rip), %rcx
LBB0_5:
	movl	(%rcx), %ecx
	movq	_WLAN_EID_SECONDARY_CHANNEL_OFFSET@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movl	%edx, (%rax)
	movl	$1, 4(%rax)
	movl	%ecx, 8(%rax)
	addq	$12, %rax
LBB0_6:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HT_INFO_HT_PARAM_SECONDARY_CHNL_BELOW,4,2 ## @HT_INFO_HT_PARAM_SECONDARY_CHNL_BELOW
	.comm	_HT_INFO_HT_PARAM_SECONDARY_CHNL_ABOVE,4,2 ## @HT_INFO_HT_PARAM_SECONDARY_CHNL_ABOVE
	.comm	_WLAN_EID_SECONDARY_CHANNEL_OFFSET,4,2 ## @WLAN_EID_SECONDARY_CHANNEL_OFFSET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_eid_secondary_channel  ; -- Begin function hostapd_eid_secondary_channel
	.p2align	2
_hostapd_eid_secondary_channel:         ; @hostapd_eid_secondary_channel
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0, #4]
	cbz	w8, LBB0_6
; %bb.1:
	ldr	w8, [x0]
	cmn	w8, #1
	b.eq	LBB0_4
; %bb.2:
	cmp	w8, #1
	b.ne	LBB0_6
; %bb.3:
Lloh0:
	adrp	x8, _HT_INFO_HT_PARAM_SECONDARY_CHNL_ABOVE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _HT_INFO_HT_PARAM_SECONDARY_CHNL_ABOVE@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh2:
	adrp	x8, _HT_INFO_HT_PARAM_SECONDARY_CHNL_BELOW@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HT_INFO_HT_PARAM_SECONDARY_CHNL_BELOW@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
Lloh4:
	adrp	x9, _WLAN_EID_SECONDARY_CHANNEL_OFFSET@GOTPAGE
Lloh5:
	ldr	x9, [x9, _WLAN_EID_SECONDARY_CHANNEL_OFFSET@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	mov	w10, #1
	stp	w9, w10, [x1]
	str	w8, [x1, #8]
	add	x1, x1, #12
LBB0_6:
	mov	x0, x1
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_HT_INFO_HT_PARAM_SECONDARY_CHNL_BELOW,4,2 ; @HT_INFO_HT_PARAM_SECONDARY_CHNL_BELOW
	.comm	_HT_INFO_HT_PARAM_SECONDARY_CHNL_ABOVE,4,2 ; @HT_INFO_HT_PARAM_SECONDARY_CHNL_ABOVE
	.comm	_WLAN_EID_SECONDARY_CHANNEL_OFFSET,4,2 ; @WLAN_EID_SECONDARY_CHANNEL_OFFSET
.subsections_via_symbols
