	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fsl_msi_enable
_fsl_msi_enable:                        ## @fsl_msi_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rsi, %rbx
	callq	_device_get_softc
	movq	(%rax), %rcx
	movq	_FSL_NUM_MSI_PER_IRQ@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rbx, %rax
	orq	%rsi, %rax
	shrq	$32, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rax
	xorl	%edx, %edx
	divq	%rsi
	jmp	LBB0_3
LBB0_1:
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%esi
                                        ## kill: def $edx killed $edx def $rdx
                                        ## kill: def $eax killed $eax def $rax
LBB0_3:
	movq	(%rcx,%rax,8), %rax
	movq	%r14, (%rax,%rdx,8)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FSL_NUM_MSI_PER_IRQ,8,3        ## @FSL_NUM_MSI_PER_IRQ
	.no_dead_strip	_fsl_msi_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fsl_msi_enable
_fsl_msi_enable:                        ; @fsl_msi_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, x2
	mov	x20, x1
	bl	_device_get_softc
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _FSL_NUM_MSI_PER_IRQ@GOTPAGE
Lloh1:
	ldr	x9, [x9, _FSL_NUM_MSI_PER_IRQ@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	udiv	x10, x20, x9
	ldr	x8, [x8, x10, lsl #3]
	msub	x9, x10, x9, x20
	str	x19, [x8, x9, lsl #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
	.cfi_endproc
                                        ; -- End function
	.comm	_FSL_NUM_MSI_PER_IRQ,8,3        ; @FSL_NUM_MSI_PER_IRQ
	.no_dead_strip	_fsl_msi_enable
.subsections_via_symbols
