	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath_mci_enable                 ## -- Begin function ath_mci_enable
	.p2align	4, 0x90
_ath_mci_enable:                        ## @ath_mci_enable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	(%rdi), %rdi
	callq	_ath9k_hw_common
	cmpl	$0, (%rax)
	je	LBB0_3
## %bb.1:
	movq	(%rbx), %rax
	movq	_ATH9K_HW_CAP_MCI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%rax)
	je	LBB0_3
## %bb.2:
	movq	_ATH9K_INT_MCI@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%ecx, (%rax)
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ATH9K_HW_CAP_MCI,4,2           ## @ATH9K_HW_CAP_MCI
	.comm	_ATH9K_INT_MCI,4,2              ## @ATH9K_INT_MCI
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ath_mci_enable                 ; -- Begin function ath_mci_enable
	.p2align	2
_ath_mci_enable:                        ; @ath_mci_enable
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x0, [x0]
	bl	_ath9k_hw_common
	ldr	w8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	x8, [x19]
	ldr	w9, [x8, #4]
Lloh0:
	adrp	x10, _ATH9K_HW_CAP_MCI@GOTPAGE
Lloh1:
	ldr	x10, [x10, _ATH9K_HW_CAP_MCI@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_3
; %bb.2:
Lloh3:
	adrp	x9, _ATH9K_INT_MCI@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ATH9K_INT_MCI@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	ldr	w10, [x8]
	orr	w9, w10, w9
	str	w9, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ATH9K_HW_CAP_MCI,4,2           ; @ATH9K_HW_CAP_MCI
	.comm	_ATH9K_INT_MCI,4,2              ; @ATH9K_INT_MCI
.subsections_via_symbols
