	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mv88e6xxx_smi_init             ## -- Begin function mv88e6xxx_smi_init
	.p2align	4, 0x90
_mv88e6xxx_smi_init:                    ## @mv88e6xxx_smi_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	24(%rdi), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_2
## %bb.1:
	movq	_mv88e6xxx_smi_dual_direct_ops@GOTPCREL(%rip), %rax
LBB0_6:
	movq	%rax, 16(%rdi)
	movq	%rsi, 8(%rdi)
	movl	%edx, (%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_2:
	testl	%edx, %edx
	je	LBB0_3
## %bb.4:
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.5:
	movq	_mv88e6xxx_smi_indirect_ops@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_3:
	movq	_mv88e6xxx_smi_direct_ops@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_8:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_mv88e6xxx_smi_dual_direct_ops,4,2 ## @mv88e6xxx_smi_dual_direct_ops
	.comm	_mv88e6xxx_smi_direct_ops,4,2   ## @mv88e6xxx_smi_direct_ops
	.comm	_mv88e6xxx_smi_indirect_ops,4,2 ## @mv88e6xxx_smi_indirect_ops
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mv88e6xxx_smi_init             ; -- Begin function mv88e6xxx_smi_init
	.p2align	2
_mv88e6xxx_smi_init:                    ; @mv88e6xxx_smi_init
	.cfi_startproc
; %bb.0:
	ldr	x8, [x0, #24]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_3
; %bb.1:
Lloh0:
	adrp	x9, _mv88e6xxx_smi_dual_direct_ops@GOTPAGE
Lloh1:
	ldr	x9, [x9, _mv88e6xxx_smi_dual_direct_ops@GOTPAGEOFF]
LBB0_2:
	stp	x1, x9, [x0, #8]
	str	w2, [x0]
	mov	w0, #0
	ret
LBB0_3:
	cbz	w2, LBB0_6
; %bb.4:
	ldr	x8, [x8]
	cbz	x8, LBB0_7
; %bb.5:
Lloh2:
	adrp	x9, _mv88e6xxx_smi_indirect_ops@GOTPAGE
Lloh3:
	ldr	x9, [x9, _mv88e6xxx_smi_indirect_ops@GOTPAGEOFF]
	b	LBB0_2
LBB0_6:
Lloh4:
	adrp	x9, _mv88e6xxx_smi_direct_ops@GOTPAGE
Lloh5:
	ldr	x9, [x9, _mv88e6xxx_smi_direct_ops@GOTPAGEOFF]
	b	LBB0_2
LBB0_7:
Lloh6:
	adrp	x8, _EINVAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_mv88e6xxx_smi_dual_direct_ops,4,2 ; @mv88e6xxx_smi_dual_direct_ops
	.comm	_mv88e6xxx_smi_direct_ops,4,2   ; @mv88e6xxx_smi_direct_ops
	.comm	_mv88e6xxx_smi_indirect_ops,4,2 ; @mv88e6xxx_smi_indirect_ops
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
