	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mv_ap806_sei_setup_intr
_mv_ap806_sei_setup_intr:               ## @mv_ap806_sei_setup_intr
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r12
	movq	%rsi, %r15
	movl	%edi, %ebx
	callq	_device_get_softc
	testq	%r12, %r12
	je	LBB0_4
## %bb.1:
	movq	%rax, %r14
	leaq	-40(%rbp), %rdx
	movl	%ebx, %edi
	movq	%r12, %rsi
	callq	_mv_ap806_sei_map
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.2:
	movq	-40(%rbp), %rax
	cmpq	(%r15), %rax
	jne	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	xorl	%edx, %edx
	callq	_mv_ap806_sei_isrc_mask
	jmp	LBB0_7
LBB0_4:
	movq	_ENOTSUP@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_5:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %ebx
LBB0_7:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOTSUP,4,2                    ## @ENOTSUP
	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_mv_ap806_sei_setup_intr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mv_ap806_sei_setup_intr
_mv_ap806_sei_setup_intr:               ; @mv_ap806_sei_setup_intr
	.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	x21, x3
	mov	x19, x1
	mov	x22, x0
	bl	_device_get_softc
	cbz	x21, LBB0_4
; %bb.1:
	mov	x20, x0
	add	x2, sp, #8
	mov	x0, x22
	mov	x1, x21
	bl	_mv_ap806_sei_map
	cbnz	w0, LBB0_7
; %bb.2:
	ldr	x8, [sp, #8]
	ldr	x9, [x19]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #0
	bl	_mv_ap806_sei_isrc_mask
	mov	w0, #0
	b	LBB0_7
LBB0_4:
Lloh0:
	adrp	x8, _ENOTSUP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOTSUP@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
LBB0_7:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOTSUP,4,2                    ; @ENOTSUP
	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_mv_ap806_sei_setup_intr
.subsections_via_symbols
