	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ath10k_mac_wrdd_get_mcc
_ath10k_mac_wrdd_get_mcc:               ## @ath10k_mac_wrdd_get_mcc
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rsi), %rcx
	movq	_ACPI_TYPE_PACKAGE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jne	LBB0_12
## %bb.1:
	cmpl	$2, %ecx
	jl	LBB0_12
## %bb.2:
	movq	8(%rsi), %rdx
	movq	_ACPI_TYPE_INTEGER@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rdx), %rsi
	orq	%rax, %rsi
	je	LBB0_3
LBB0_12:
	leaq	L_.str(%rip), %rsi
	callq	_ath10k_warn
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	popq	%rbp
	retq
LBB0_3:
	movslq	%ecx, %rsi
	movq	_WRDD_WIFI@GOTPCREL(%rip), %rdi
	movq	(%rdi), %r8
	decq	%rsi
	addq	$24, %rdx
	jmp	LBB0_4
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_4 Depth=1
	addq	$16, %rdx
	decq	%rsi
	je	LBB0_10
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-8(%rdx), %rdi
	cmpq	%rcx, %rdi
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpl	$2, %edi
	jl	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	movq	(%rdx), %rdi
	cmpq	%rax, (%rdi)
	jne	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%rax, 16(%rdi)
	jne	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	%r8, %rax
	jne	LBB0_9
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_TYPE_PACKAGE,8,3          ## @ACPI_TYPE_PACKAGE
	.comm	_ACPI_TYPE_INTEGER,8,3          ## @ACPI_TYPE_INTEGER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ignoring malformed/unsupported wrdd structure\n"

	.comm	_WRDD_WIFI,8,3                  ## @WRDD_WIFI
	.no_dead_strip	_ath10k_mac_wrdd_get_mcc
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ath10k_mac_wrdd_get_mcc
_ath10k_mac_wrdd_get_mcc:               ; @ath10k_mac_wrdd_get_mcc
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	mov	x8, x0
	ldr	x9, [x1]
Lloh0:
	adrp	x10, _ACPI_TYPE_PACKAGE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ACPI_TYPE_PACKAGE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
	ccmp	w9, #2, #8, eq
	b.lt	LBB0_2
; %bb.1:
	ldr	x11, [x1, #8]
	ldr	x10, [x11]
Lloh3:
	adrp	x12, _ACPI_TYPE_INTEGER@GOTPAGE
Lloh4:
	ldr	x12, [x12, _ACPI_TYPE_INTEGER@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x12]
	orr	x10, x0, x10
	cbz	x10, LBB0_5
LBB0_2:
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	bl	_ath10k_warn
LBB0_3:
	mov	x0, #0
LBB0_4:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_5:
	sxtw	x10, w9
Lloh8:
	adrp	x8, _WRDD_WIFI@GOTPAGE
Lloh9:
	ldr	x8, [x8, _WRDD_WIFI@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	sub	x10, x10, #1
	add	x11, x11, #24
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x11, x11, #16
	subs	x10, x10, #1
	b.eq	LBB0_3
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldur	x12, [x11, #-8]
	cmp	x12, x9
	ccmp	w12, #2, #8, eq
	b.lt	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x12, [x11]
	ldr	x13, [x12]
	cmp	x13, x0
	b.ne	LBB0_6
; %bb.9:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x12, [x12, #16]
	cmp	x12, x0
	ccmp	x0, x8, #0, eq
	b.ne	LBB0_6
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_TYPE_PACKAGE,8,3          ; @ACPI_TYPE_PACKAGE
	.comm	_ACPI_TYPE_INTEGER,8,3          ; @ACPI_TYPE_INTEGER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ignoring malformed/unsupported wrdd structure\n"

	.comm	_WRDD_WIFI,8,3                  ; @WRDD_WIFI
	.no_dead_strip	_ath10k_mac_wrdd_get_mcc
.subsections_via_symbols
