	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfg80211_get_chan_state        ## -- Begin function cfg80211_get_chan_state
	.p2align	4, 0x90
_cfg80211_get_chan_state:               ## @cfg80211_get_chan_state
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	$0, (%rsi)
	movq	_CHAN_MODE_UNDEFINED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	callq	_ASSERT_WDEV_LOCK
	movq	56(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	callq	_netif_running
	testl	%eax, %eax
	je	LBB0_18
LBB0_2:
	movl	(%rbx), %eax
	addl	$-128, %eax
	cmpl	$11, %eax
	ja	LBB0_18
## %bb.3:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movl	$1, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_WARN_ON                        ## TAILCALL
LBB0_5:
	cmpl	$0, 32(%rbx)
	jne	LBB0_9
## %bb.6:
	cmpl	$0, 28(%rbx)
	jne	LBB0_9
	jmp	LBB0_18
LBB0_7:
	movq	8(%rbx), %rax
	movq	_NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rax)
	jne	LBB0_12
	jmp	LBB0_18
LBB0_8:
	cmpl	$0, 24(%rbx)
	je	LBB0_18
LBB0_9:
	movq	16(%rbx), %rax
	jmp	LBB0_15
LBB0_10:
	movq	40(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	(%rax), %rax
	movq	%rax, (%r15)
	cmpl	$0, 48(%rbx)
	jne	LBB0_16
LBB0_12:
	movq	_CHAN_MODE_EXCLUSIVE@GOTPCREL(%rip), %rax
	jmp	LBB0_17
LBB0_13:
	movq	40(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_18
## %bb.14:
	movq	(%rax), %rax
LBB0_15:
	movq	%rax, (%r15)
LBB0_16:
	movq	_CHAN_MODE_SHARED@GOTPCREL(%rip), %rax
LBB0_17:
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_18:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_18
	.long	L0_0_set_4
	.long	L0_0_set_13
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_13
	.long	L0_0_set_18
	.long	L0_0_set_8
	.long	L0_0_set_18
	.long	L0_0_set_5
	.long	L0_0_set_10
	.end_data_region
                                        ## -- End function
	.comm	_CHAN_MODE_UNDEFINED,4,2        ## @CHAN_MODE_UNDEFINED
	.comm	_CHAN_MODE_SHARED,4,2           ## @CHAN_MODE_SHARED
	.comm	_CHAN_MODE_EXCLUSIVE,4,2        ## @CHAN_MODE_EXCLUSIVE
	.comm	_NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL,4,2 ## @NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfg80211_get_chan_state        ; -- Begin function cfg80211_get_chan_state
	.p2align	2
_cfg80211_get_chan_state:               ; @cfg80211_get_chan_state
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	str	xzr, [x1]
Lloh0:
	adrp	x8, _CHAN_MODE_UNDEFINED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CHAN_MODE_UNDEFINED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x2]
	bl	_ASSERT_WDEV_LOCK
	ldr	x0, [x21, #56]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_netif_running
	cbz	w0, LBB0_17
LBB0_2:
	ldr	w8, [x21]
	sub	w8, w8, #128
	cmp	w8, #11
	b.hi	LBB0_17
; %bb.3:
Lloh3:
	adrp	x9, lJTI0_0@PAGE
Lloh4:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_4
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_4:
	mov	w0, #1
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_WARN_ON
LBB0_5:
	ldr	w8, [x21, #32]
	cbnz	w8, LBB0_10
; %bb.6:
	ldr	w8, [x21, #28]
	cbnz	w8, LBB0_10
	b	LBB0_17
LBB0_7:
	ldr	x8, [x21, #8]
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.8:
Lloh8:
	adrp	x8, _CHAN_MODE_EXCLUSIVE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CHAN_MODE_EXCLUSIVE@GOTPAGEOFF]
	b	LBB0_16
LBB0_9:
	ldr	w8, [x21, #24]
	cbz	w8, LBB0_17
LBB0_10:
	ldr	x8, [x21, #16]
	b	LBB0_15
LBB0_11:
	ldr	x8, [x21, #40]
	cbz	x8, LBB0_13
; %bb.12:
	ldr	x8, [x8]
	str	x8, [x20]
	ldr	w8, [x21, #48]
Lloh10:
	adrp	x9, _CHAN_MODE_SHARED@GOTPAGE
Lloh11:
	ldr	x9, [x9, _CHAN_MODE_SHARED@GOTPAGEOFF]
Lloh12:
	adrp	x10, _CHAN_MODE_EXCLUSIVE@GOTPAGE
Lloh13:
	ldr	x10, [x10, _CHAN_MODE_EXCLUSIVE@GOTPAGEOFF]
	cmp	w8, #0
	csel	x8, x10, x9, eq
	b	LBB0_16
LBB0_13:
	ldr	x8, [x21, #40]
	cbz	x8, LBB0_17
; %bb.14:
	ldr	x8, [x8]
LBB0_15:
	str	x8, [x20]
Lloh14:
	adrp	x8, _CHAN_MODE_SHARED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _CHAN_MODE_SHARED@GOTPAGEOFF]
LBB0_16:
	ldr	w8, [x8]
	str	w8, [x19]
LBB0_17:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_17-LBB0_4)>>2
	.byte	(LBB0_4-LBB0_4)>>2
	.byte	(LBB0_13-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_7-LBB0_4)>>2
	.byte	(LBB0_13-LBB0_4)>>2
	.byte	(LBB0_17-LBB0_4)>>2
	.byte	(LBB0_9-LBB0_4)>>2
	.byte	(LBB0_17-LBB0_4)>>2
	.byte	(LBB0_5-LBB0_4)>>2
	.byte	(LBB0_11-LBB0_4)>>2
                                        ; -- End function
	.comm	_CHAN_MODE_UNDEFINED,4,2        ; @CHAN_MODE_UNDEFINED
	.comm	_CHAN_MODE_SHARED,4,2           ; @CHAN_MODE_SHARED
	.comm	_CHAN_MODE_EXCLUSIVE,4,2        ; @CHAN_MODE_EXCLUSIVE
	.comm	_NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL,4,2 ; @NL80211_FEATURE_P2P_DEVICE_NEEDS_CHANNEL
.subsections_via_symbols
