	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qca8k_mib_init
_qca8k_mib_init:                        ## @qca8k_mib_init
	.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	%rdi, %rbx
	callq	_mutex_lock
	movq	_QCA8K_REG_MIB@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	_QCA8K_MIB_FLUSH@GOTPCREL(%rip), %rax
	movq	_QCA8K_MIB_BUSY@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	orl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_qca8k_reg_set
	movl	(%r14), %esi
	movl	(%r15), %edx
	movq	%rbx, %rdi
	callq	_qca8k_busy_wait
	movl	(%r14), %esi
	movq	_QCA8K_MIB_CPU_KEEP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_qca8k_reg_set
	movq	_QCA8K_REG_MODULE_EN@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_QCA8K_MODULE_EN_MIB@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_qca8k_write
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_QCA8K_REG_MIB,4,2              ## @QCA8K_REG_MIB
	.comm	_QCA8K_MIB_FLUSH,4,2            ## @QCA8K_MIB_FLUSH
	.comm	_QCA8K_MIB_BUSY,4,2             ## @QCA8K_MIB_BUSY
	.comm	_QCA8K_MIB_CPU_KEEP,4,2         ## @QCA8K_MIB_CPU_KEEP
	.comm	_QCA8K_REG_MODULE_EN,4,2        ## @QCA8K_REG_MODULE_EN
	.comm	_QCA8K_MODULE_EN_MIB,4,2        ## @QCA8K_MODULE_EN_MIB
	.no_dead_strip	_qca8k_mib_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function qca8k_mib_init
_qca8k_mib_init:                        ; @qca8k_mib_init
	.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, x0
	bl	_mutex_lock
Lloh0:
	adrp	x20, _QCA8K_REG_MIB@GOTPAGE
Lloh1:
	ldr	x20, [x20, _QCA8K_REG_MIB@GOTPAGEOFF]
Lloh2:
	adrp	x8, _QCA8K_MIB_FLUSH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _QCA8K_MIB_FLUSH@GOTPAGEOFF]
	ldr	w1, [x20]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x21, _QCA8K_MIB_BUSY@GOTPAGE
Lloh6:
	ldr	x21, [x21, _QCA8K_MIB_BUSY@GOTPAGEOFF]
	ldr	w9, [x21]
	orr	w2, w9, w8
	mov	x0, x19
	bl	_qca8k_reg_set
	ldr	w1, [x20]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_qca8k_busy_wait
	ldr	w1, [x20]
Lloh7:
	adrp	x8, _QCA8K_MIB_CPU_KEEP@GOTPAGE
Lloh8:
	ldr	x8, [x8, _QCA8K_MIB_CPU_KEEP@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_qca8k_reg_set
Lloh10:
	adrp	x8, _QCA8K_REG_MODULE_EN@GOTPAGE
Lloh11:
	ldr	x8, [x8, _QCA8K_REG_MODULE_EN@GOTPAGEOFF]
Lloh12:
	ldr	w1, [x8]
Lloh13:
	adrp	x8, _QCA8K_MODULE_EN_MIB@GOTPAGE
Lloh14:
	ldr	x8, [x8, _QCA8K_MODULE_EN_MIB@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_qca8k_write
	mov	x0, x19
	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	_mutex_unlock
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_QCA8K_REG_MIB,4,2              ; @QCA8K_REG_MIB
	.comm	_QCA8K_MIB_FLUSH,4,2            ; @QCA8K_MIB_FLUSH
	.comm	_QCA8K_MIB_BUSY,4,2             ; @QCA8K_MIB_BUSY
	.comm	_QCA8K_MIB_CPU_KEEP,4,2         ; @QCA8K_MIB_CPU_KEEP
	.comm	_QCA8K_REG_MODULE_EN,4,2        ; @QCA8K_REG_MODULE_EN
	.comm	_QCA8K_MODULE_EN_MIB,4,2        ; @QCA8K_MODULE_EN_MIB
	.no_dead_strip	_qca8k_mib_init
.subsections_via_symbols
