	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_radiotap_chan_change ## -- Begin function ieee80211_radiotap_chan_change
	.p2align	4, 0x90
_ieee80211_radiotap_chan_change:        ## @ieee80211_radiotap_chan_change
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	cmpq	$0, 24(%rdi)
	je	LBB0_5
## %bb.1:
	movq	32(%rbx), %r15
	movl	(%r15), %r12d
	movq	_IEEE80211_RADIOTAP_XCHANNEL@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %r14d
	movl	$1, %edi
	shll	%cl, %edi
	callq	_htole32
	testl	%r12d, %eax
	je	LBB0_3
## %bb.2:
	movq	24(%rbx), %rdi
	movl	(%rbx), %esi
	callq	_set_xchannel
	jmp	LBB0_5
LBB0_3:
	movl	(%r15), %r15d
	movq	_IEEE80211_RADIOTAP_CHANNEL@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r14d
	movl	%r14d, %edi
	callq	_htole32
	testl	%r15d, %eax
	je	LBB0_5
## %bb.4:
	movq	24(%rbx), %rdi
	movl	(%rbx), %esi
	callq	_set_channel
LBB0_5:
	cmpq	$0, 8(%rbx)
	je	LBB0_8
## %bb.6:
	movq	16(%rbx), %r15
	movl	(%r15), %r12d
	movq	_IEEE80211_RADIOTAP_XCHANNEL@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	movl	$1, %r14d
	movl	$1, %edi
	shll	%cl, %edi
	callq	_htole32
	testl	%r12d, %eax
	je	LBB0_7
## %bb.9:
	movq	8(%rbx), %rdi
	movl	(%rbx), %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_xchannel                   ## TAILCALL
LBB0_7:
	movl	(%r15), %r15d
	movq	_IEEE80211_RADIOTAP_CHANNEL@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r14d
	movl	%r14d, %edi
	callq	_htole32
	testl	%r15d, %eax
	je	LBB0_8
## %bb.10:
	movq	8(%rbx), %rdi
	movl	(%rbx), %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_channel                    ## TAILCALL
LBB0_8:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IEEE80211_RADIOTAP_XCHANNEL,4,2 ## @IEEE80211_RADIOTAP_XCHANNEL
	.comm	_IEEE80211_RADIOTAP_CHANNEL,4,2 ## @IEEE80211_RADIOTAP_CHANNEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ieee80211_radiotap_chan_change ; -- Begin function ieee80211_radiotap_chan_change
	.p2align	2
_ieee80211_radiotap_chan_change:        ; @ieee80211_radiotap_chan_change
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	ldr	x8, [x0, #24]
Lloh0:
	adrp	x20, _IEEE80211_RADIOTAP_XCHANNEL@GOTPAGE
Lloh1:
	ldr	x20, [x20, _IEEE80211_RADIOTAP_XCHANNEL@GOTPAGEOFF]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	x21, [x19, #32]
	ldr	w23, [x21]
	ldr	w8, [x20]
	mov	w22, #1
	lsl	w0, w22, w8
	bl	_htole32
	tst	w0, w23
	b.eq	LBB0_3
; %bb.2:
	ldr	x0, [x19, #24]
	ldr	w1, [x19]
	bl	_set_xchannel
	b	LBB0_5
LBB0_3:
	ldr	w21, [x21]
Lloh2:
	adrp	x8, _IEEE80211_RADIOTAP_CHANNEL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _IEEE80211_RADIOTAP_CHANNEL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	lsl	w0, w22, w8
	bl	_htole32
	tst	w0, w21
	b.eq	LBB0_5
; %bb.4:
	ldr	x0, [x19, #24]
	ldr	w1, [x19]
	bl	_set_channel
LBB0_5:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_10
; %bb.6:
	ldr	x21, [x19, #16]
	ldr	w22, [x21]
	ldr	w8, [x20]
	mov	w20, #1
	lsl	w0, w20, w8
	bl	_htole32
	tst	w0, w22
	b.eq	LBB0_8
; %bb.7:
	ldr	x0, [x19, #8]
	ldr	w1, [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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_set_xchannel
LBB0_8:
	ldr	w21, [x21]
Lloh5:
	adrp	x8, _IEEE80211_RADIOTAP_CHANNEL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IEEE80211_RADIOTAP_CHANNEL@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	lsl	w0, w20, w8
	bl	_htole32
	tst	w0, w21
	b.eq	LBB0_10
; %bb.9:
	ldr	x0, [x19, #8]
	ldr	w1, [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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_set_channel
LBB0_10:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_IEEE80211_RADIOTAP_XCHANNEL,4,2 ; @IEEE80211_RADIOTAP_XCHANNEL
	.comm	_IEEE80211_RADIOTAP_CHANNEL,4,2 ; @IEEE80211_RADIOTAP_CHANNEL
.subsections_via_symbols
