	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfg80211_chandef_compatible    ## -- Begin function cfg80211_chandef_compatible
	.p2align	4, 0x90
_cfg80211_chandef_compatible:           ## @cfg80211_chandef_compatible
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	callq	_cfg80211_chandef_identical
	testq	%rax, %rax
	jne	LBB0_18
## %bb.1:
	movq	(%rbx), %rax
	cmpq	(%r14), %rax
	jne	LBB0_4
## %bb.2:
	movq	8(%rbx), %rcx
	movq	8(%r14), %rax
	cmpq	%rax, %rcx
	jne	LBB0_5
LBB0_4:
	xorl	%ebx, %ebx
LBB0_18:
	movq	%rbx, %rax
	addq	$32, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movq	_NL80211_CHAN_WIDTH_20_NOHT@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpq	%rdx, %rcx
	je	LBB0_6
## %bb.7:
	movq	_NL80211_CHAN_WIDTH_20@GOTPCREL(%rip), %rsi
	movq	(%rsi), %rsi
	cmpq	%rsi, %rcx
	jne	LBB0_9
LBB0_6:
	movq	%r14, %rbx
	jmp	LBB0_18
LBB0_9:
	cmpq	%rdx, %rax
	je	LBB0_18
## %bb.10:
	cmpq	%rsi, %rax
	je	LBB0_18
## %bb.11:
	leaq	-48(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	callq	_chandef_primary_freqs
	leaq	-40(%rbp), %rsi
	leaq	-24(%rbp), %rdx
	movq	%r14, %rdi
	callq	_chandef_primary_freqs
	movq	-48(%rbp), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_4
## %bb.12:
	movq	-32(%rbp), %rax
	xorl	%edi, %edi
	orq	-24(%rbp), %rax
	sete	%dil
	callq	_WARN_ON
	movq	-32(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.13:
	movq	-24(%rbp), %rcx
	testq	%rcx, %rcx
	je	LBB0_17
## %bb.14:
	cmpq	%rcx, %rax
	jne	LBB0_4
LBB0_17:
	movq	8(%rbx), %rax
	cmpq	8(%r14), %rax
	cmovleq	%r14, %rbx
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_NL80211_CHAN_WIDTH_20_NOHT,8,3 ## @NL80211_CHAN_WIDTH_20_NOHT
	.comm	_NL80211_CHAN_WIDTH_20,8,3      ## @NL80211_CHAN_WIDTH_20
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cfg80211_chandef_compatible    ; -- Begin function cfg80211_chandef_compatible
	.p2align	2
_cfg80211_chandef_compatible:           ; @cfg80211_chandef_compatible
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x20, x1
	mov	x19, x0
	bl	_cfg80211_chandef_identical
	cbnz	x0, LBB0_4
; %bb.1:
	ldr	x8, [x19]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	ldr	x9, [x19, #8]
	ldr	x8, [x20, #8]
	cmp	x9, x8
	b.ne	LBB0_5
LBB0_3:
	mov	x19, #0
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_5:
Lloh0:
	adrp	x10, _NL80211_CHAN_WIDTH_20_NOHT@GOTPAGE
Lloh1:
	ldr	x10, [x10, _NL80211_CHAN_WIDTH_20_NOHT@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	b.eq	LBB0_7
; %bb.6:
Lloh3:
	adrp	x11, _NL80211_CHAN_WIDTH_20@GOTPAGE
Lloh4:
	ldr	x11, [x11, _NL80211_CHAN_WIDTH_20@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
	cmp	x9, x11
	b.ne	LBB0_8
LBB0_7:
	mov	x19, x20
	b	LBB0_4
LBB0_8:
	cmp	x8, x10
	ccmp	x8, x11, #4, ne
	b.eq	LBB0_4
; %bb.9:
	add	x1, sp, #24
	add	x2, sp, #16
	mov	x0, x19
	bl	_chandef_primary_freqs
	add	x1, sp, #8
	mov	x2, sp
	mov	x0, x20
	bl	_chandef_primary_freqs
	ldr	x8, [sp, #24]
	ldr	x9, [sp, #8]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.10:
	ldr	x8, [sp, #16]
	ldr	x9, [sp]
	orr	x8, x8, x9
	cmp	x8, #0
	cset	w0, eq
	bl	_WARN_ON
	ldr	x8, [sp, #16]
	cbz	x8, LBB0_13
; %bb.11:
	ldr	x9, [sp]
	cbz	x9, LBB0_13
; %bb.12:
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_13:
	ldr	x8, [x19, #8]
	ldr	x9, [x20, #8]
	cmp	x8, x9
	csel	x19, x19, x20, gt
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_NL80211_CHAN_WIDTH_20_NOHT,8,3 ; @NL80211_CHAN_WIDTH_20_NOHT
	.comm	_NL80211_CHAN_WIDTH_20,8,3      ; @NL80211_CHAN_WIDTH_20
.subsections_via_symbols
