	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function odmi_compose_msi_msg
_odmi_compose_msi_msg:                  ## @odmi_compose_msi_msg
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	_odmis_count@GOTPCREL(%rip), %rax
	movq	_NODMIS_PER_FRAME@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	imull	(%rax), %ecx
	xorl	%edi, %edi
	cmpl	%ecx, (%rbx)
	setge	%dil
	callq	_WARN_ON
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	_odmis@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rbx), %r15d
	movq	_NODMIS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	movl	%r15d, %edx
	sarl	%cl, %edx
	movslq	%edx, %rcx
	movq	_NODMIS_MASK@GOTPCREL(%rip), %rdx
	andl	(%rdx), %r15d
	movq	_GICP_ODMIN_SET@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rbx
	addq	(%rax,%rcx,8), %rbx
	movq	%rbx, %rdi
	callq	_upper_32_bits
	movl	%eax, 8(%r14)
	movq	%rbx, %rdi
	callq	_lower_32_bits
	movl	%eax, 4(%r14)
	movq	_GICP_ODMI_INT_NUM_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shll	%cl, %r15d
	movl	%r15d, (%r14)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_odmis_count,4,2                ## @odmis_count
	.comm	_NODMIS_PER_FRAME,4,2           ## @NODMIS_PER_FRAME
	.comm	_odmis,8,3                      ## @odmis
	.comm	_NODMIS_SHIFT,8,3               ## @NODMIS_SHIFT
	.comm	_NODMIS_MASK,4,2                ## @NODMIS_MASK
	.comm	_GICP_ODMIN_SET,8,3             ## @GICP_ODMIN_SET
	.comm	_GICP_ODMI_INT_NUM_SHIFT,4,2    ## @GICP_ODMI_INT_NUM_SHIFT
	.no_dead_strip	_odmi_compose_msi_msg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function odmi_compose_msi_msg
_odmi_compose_msi_msg:                  ; @odmi_compose_msi_msg
	.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, x1
	mov	x20, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _odmis_count@GOTPAGE
Lloh1:
	ldr	x9, [x9, _odmis_count@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _NODMIS_PER_FRAME@GOTPAGE
Lloh4:
	ldr	x10, [x10, _NODMIS_PER_FRAME@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	mul	w9, w10, w9
	cmp	w8, w9
	cset	w0, ge
	bl	_WARN_ON
	cbnz	x0, LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _odmis@GOTPAGE
Lloh7:
	ldr	x8, [x8, _odmis@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	ldr	w9, [x20]
Lloh9:
	adrp	x10, _NODMIS_SHIFT@GOTPAGE
Lloh10:
	ldr	x10, [x10, _NODMIS_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	asr	w10, w9, w10
Lloh12:
	adrp	x11, _NODMIS_MASK@GOTPAGE
Lloh13:
	ldr	x11, [x11, _NODMIS_MASK@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	and	w21, w11, w9
	ldr	x8, [x8, w10, sxtw #3]
Lloh15:
	adrp	x9, _GICP_ODMIN_SET@GOTPAGE
Lloh16:
	ldr	x9, [x9, _GICP_ODMIN_SET@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	add	x20, x9, x8
	mov	x0, x20
	bl	_upper_32_bits
	str	w0, [x19, #8]
	mov	x0, x20
	bl	_lower_32_bits
Lloh18:
	adrp	x8, _GICP_ODMI_INT_NUM_SHIFT@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GICP_ODMI_INT_NUM_SHIFT@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	lsl	w8, w21, w8
	stp	w8, w0, [x19]
LBB0_2:
	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
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_odmis_count,4,2                ; @odmis_count
	.comm	_NODMIS_PER_FRAME,4,2           ; @NODMIS_PER_FRAME
	.comm	_odmis,8,3                      ; @odmis
	.comm	_NODMIS_SHIFT,8,3               ; @NODMIS_SHIFT
	.comm	_NODMIS_MASK,4,2                ; @NODMIS_MASK
	.comm	_GICP_ODMIN_SET,8,3             ; @GICP_ODMIN_SET
	.comm	_GICP_ODMI_INT_NUM_SHIFT,4,2    ; @GICP_ODMI_INT_NUM_SHIFT
	.no_dead_strip	_odmi_compose_msi_msg
.subsections_via_symbols
