	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_extchan
_set_extchan:                           ## @set_extchan
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	movq	_IEEE80211_CHAN_HT40U@GOTPCREL(%rip), %rdx
	movl	$4, %eax
	testl	%ecx, (%rdx)
	jne	LBB0_3
## %bb.1:
	movq	_IEEE80211_CHAN_HT40D@GOTPCREL(%rip), %rdx
	movq	$-4, %rax
	testl	%ecx, (%rdx)
	je	LBB0_2
LBB0_3:
	addq	16(%rdi), %rax
LBB0_4:
	movq	%rax, 8(%rdi)
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_CHAN_HT40U,4,2       ## @IEEE80211_CHAN_HT40U
	.comm	_IEEE80211_CHAN_HT40D,4,2       ## @IEEE80211_CHAN_HT40D
	.no_dead_strip	_set_extchan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_extchan
_set_extchan:                           ; @set_extchan
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _IEEE80211_CHAN_HT40U@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IEEE80211_CHAN_HT40U@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	mov	w8, #4
	b	LBB0_4
LBB0_2:
Lloh3:
	adrp	x9, _IEEE80211_CHAN_HT40D@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IEEE80211_CHAN_HT40D@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.3:
	mov	x8, #-4
LBB0_4:
	ldr	x9, [x0, #16]
	add	x8, x9, x8
	str	x8, [x0, #8]
	ret
LBB0_5:
	str	xzr, [x0, #8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_CHAN_HT40U,4,2       ; @IEEE80211_CHAN_HT40U
	.comm	_IEEE80211_CHAN_HT40D,4,2       ; @IEEE80211_CHAN_HT40D
	.no_dead_strip	_set_extchan
.subsections_via_symbols
