	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_acpi_get_mcc               ## -- Begin function iwl_acpi_get_mcc
	.p2align	4, 0x90
_iwl_acpi_get_mcc:                      ## @iwl_acpi_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
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_ACPI_WRDD_METHOD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_iwl_acpi_get_object
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_1
## %bb.8:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_1:
	movq	_ACPI_WRDD_WIFI_DATA_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-28(%rbp), %rcx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_iwl_acpi_get_wifi_pkg
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movl	%eax, %ebx
	jmp	LBB0_7
LBB0_3:
	movq	(%rbx), %rax
	movq	16(%rax), %rcx
	movq	_ACPI_TYPE_INTEGER@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_5
## %bb.4:
	cmpl	$0, -28(%rbp)
	jne	LBB0_5
## %bb.6:
	movl	24(%rax), %eax
	movq	%r15, %rcx
	movb	%ah, (%rcx)
	movb	%al, 1(%r15)
	movb	$0, 2(%r15)
	xorl	%ebx, %ebx
	jmp	LBB0_7
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_7:
	movq	%r14, %rdi
	callq	_kfree
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_WRDD_METHOD,4,2           ## @ACPI_WRDD_METHOD
	.comm	_ACPI_WRDD_WIFI_DATA_SIZE,4,2   ## @ACPI_WRDD_WIFI_DATA_SIZE
	.comm	_ACPI_TYPE_INTEGER,8,3          ## @ACPI_TYPE_INTEGER
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_acpi_get_mcc               ; -- Begin function iwl_acpi_get_mcc
	.p2align	2
_iwl_acpi_get_mcc:                      ; @iwl_acpi_get_mcc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _ACPI_WRDD_METHOD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ACPI_WRDD_METHOD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_iwl_acpi_get_object
	mov	x19, x0
	bl	_IS_ERR
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, 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
	add	sp, sp, #64
	b	_PTR_ERR
LBB0_2:
Lloh3:
	adrp	x8, _ACPI_WRDD_WIFI_DATA_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ACPI_WRDD_WIFI_DATA_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	x0, x21
	mov	x1, x19
	bl	_iwl_acpi_get_wifi_pkg
	mov	x21, x0
	bl	_IS_ERR
	cbz	x0, LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_PTR_ERR
	mov	x21, x0
	b	LBB0_7
LBB0_4:
	ldr	x8, [x21]
	ldr	x9, [x8, #16]
Lloh6:
	adrp	x10, _ACPI_TYPE_INTEGER@GOTPAGE
Lloh7:
	ldr	x10, [x10, _ACPI_TYPE_INTEGER@GOTPAGEOFF]
Lloh8:
	ldr	x10, [x10]
	ldr	w11, [sp, #12]
	cmp	x9, x10
	ccmp	w11, #0, #0, eq
	b.eq	LBB0_6
; %bb.5:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w21, w8
	b	LBB0_7
LBB0_6:
	mov	w21, #0
	ldr	w8, [x8, #24]
	lsr	w9, w8, #8
	strb	w9, [x20]
	strb	w8, [x20, #1]
	strb	wzr, [x20, #2]
LBB0_7:
	mov	x0, x19
	bl	_kfree
	mov	x0, x21
	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
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_WRDD_METHOD,4,2           ; @ACPI_WRDD_METHOD
	.comm	_ACPI_WRDD_WIFI_DATA_SIZE,4,2   ; @ACPI_WRDD_WIFI_DATA_SIZE
	.comm	_ACPI_TYPE_INTEGER,8,3          ; @ACPI_TYPE_INTEGER
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
