	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_eid_wb_chsw_wrapper    ## -- Begin function hostapd_eid_wb_chsw_wrapper
	.p2align	4, 0x90
_hostapd_eid_wb_chsw_wrapper:           ## @hostapd_eid_wb_chsw_wrapper
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	$0, -40(%rbp)
	cmpl	$0, 20(%rdi)
	je	LBB0_16
## %bb.1:
	movq	%rdi, %rbx
	cmpl	$0, 16(%rdi)
	je	LBB0_16
## %bb.2:
	movl	(%rbx), %eax
	cmpl	$40, %eax
	je	LBB0_3
## %bb.4:
	cmpl	$160, %eax
	je	LBB0_7
## %bb.5:
	cmpl	$80, %eax
	jne	LBB0_16
## %bb.6:
	xorl	%eax, %eax
	cmpl	$0, 4(%rbx)
	setne	%al
	leaq	(%rax,%rax), %r15
	incq	%r15
	jmp	LBB0_8
LBB0_3:
	xorl	%r15d, %r15d
	jmp	LBB0_8
LBB0_7:
	movl	$2, %r15d
LBB0_8:
	movl	8(%rbx), %edi
	testl	%edi, %edi
	jne	LBB0_10
## %bb.9:
	movl	12(%rbx), %edi
LBB0_10:
	leaq	-48(%rbp), %rsi
	callq	_ieee80211_freq_to_chan
	movq	_HOSTAPD_MODE_IEEE80211A@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_16
## %bb.11:
	movl	4(%rbx), %edi
	testl	%edi, %edi
	je	LBB0_12
## %bb.13:
	leaq	-40(%rbp), %rsi
	callq	_ieee80211_freq_to_chan
	cmpq	(%r12), %rax
	jne	LBB0_16
## %bb.14:
	movq	-40(%rbp), %rax
	jmp	LBB0_15
LBB0_12:
	xorl	%eax, %eax
LBB0_15:
	movq	_WLAN_EID_VHT_CHANNEL_SWITCH_WRAPPER@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	%rcx, (%r14)
	movq	$5, 8(%r14)
	movq	_WLAN_EID_VHT_WIDE_BW_CHSWITCH@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movq	%rcx, 16(%r14)
	movq	$3, 24(%r14)
	movq	%r15, 32(%r14)
	movq	-48(%rbp), %rcx
	movq	%rcx, 40(%r14)
	movq	%rax, 48(%r14)
	addq	$56, %r14
LBB0_16:
	movq	%r14, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HOSTAPD_MODE_IEEE80211A,8,3    ## @HOSTAPD_MODE_IEEE80211A
	.comm	_WLAN_EID_VHT_CHANNEL_SWITCH_WRAPPER,4,2 ## @WLAN_EID_VHT_CHANNEL_SWITCH_WRAPPER
	.comm	_WLAN_EID_VHT_WIDE_BW_CHSWITCH,4,2 ## @WLAN_EID_VHT_WIDE_BW_CHSWITCH
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hostapd_eid_wb_chsw_wrapper    ; -- Begin function hostapd_eid_wb_chsw_wrapper
	.p2align	2
_hostapd_eid_wb_chsw_wrapper:           ; @hostapd_eid_wb_chsw_wrapper
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x1
	str	xzr, [sp]
	ldr	w8, [x0, #20]
	cbz	w8, LBB0_15
; %bb.1:
	mov	x20, x0
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_15
; %bb.2:
	ldr	w8, [x20]
	cmp	w8, #40
	b.eq	LBB0_6
; %bb.3:
	cmp	w8, #160
	b.eq	LBB0_7
; %bb.4:
	cmp	w8, #80
	b.ne	LBB0_15
; %bb.5:
	ldr	w8, [x20, #4]
	cmp	w8, #0
	mov	w8, #3
	csinc	x21, x8, xzr, ne
	ldr	w0, [x20, #8]
	cbnz	w0, LBB0_9
	b	LBB0_8
LBB0_6:
	mov	x21, #0
	ldr	w0, [x20, #8]
	cbnz	w0, LBB0_9
	b	LBB0_8
LBB0_7:
	mov	w21, #2
	ldr	w0, [x20, #8]
	cbnz	w0, LBB0_9
LBB0_8:
	ldr	w0, [x20, #12]
LBB0_9:
	add	x1, sp, #8
	bl	_ieee80211_freq_to_chan
Lloh0:
	adrp	x22, _HOSTAPD_MODE_IEEE80211A@GOTPAGE
Lloh1:
	ldr	x22, [x22, _HOSTAPD_MODE_IEEE80211A@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_15
; %bb.10:
	ldr	w0, [x20, #4]
	cbz	w0, LBB0_13
; %bb.11:
	mov	x1, sp
	bl	_ieee80211_freq_to_chan
	ldr	x8, [x22]
	cmp	x0, x8
	b.ne	LBB0_15
; %bb.12:
	ldr	x8, [sp]
	b	LBB0_14
LBB0_13:
	mov	x8, #0
LBB0_14:
Lloh2:
	adrp	x9, _WLAN_EID_VHT_CHANNEL_SWITCH_WRAPPER@GOTPAGE
Lloh3:
	ldr	x9, [x9, _WLAN_EID_VHT_CHANNEL_SWITCH_WRAPPER@GOTPAGEOFF]
Lloh4:
	ldrsw	x9, [x9]
	mov	w10, #5
	stp	x9, x10, [x19]
Lloh5:
	adrp	x9, _WLAN_EID_VHT_WIDE_BW_CHSWITCH@GOTPAGE
Lloh6:
	ldr	x9, [x9, _WLAN_EID_VHT_WIDE_BW_CHSWITCH@GOTPAGEOFF]
Lloh7:
	ldrsw	x9, [x9]
	mov	w10, #3
	stp	x9, x10, [x19, #16]
	ldr	x9, [sp, #8]
	stp	x21, x9, [x19, #32]
	str	x8, [x19, #48]
	add	x19, x19, #56
LBB0_15:
	mov	x0, x19
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_HOSTAPD_MODE_IEEE80211A,8,3    ; @HOSTAPD_MODE_IEEE80211A
	.comm	_WLAN_EID_VHT_CHANNEL_SWITCH_WRAPPER,4,2 ; @WLAN_EID_VHT_CHANNEL_SWITCH_WRAPPER
	.comm	_WLAN_EID_VHT_WIDE_BW_CHSWITCH,4,2 ; @WLAN_EID_VHT_WIDE_BW_CHSWITCH
.subsections_via_symbols
