	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ti_sci_cmd_set_event_map
_ti_sci_cmd_set_event_map:              ## @ti_sci_cmd_set_event_map
	.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	_MSG_FLAG_IA_ID_VALID@GOTPCREL(%rip), %rbx
	movq	_MSG_FLAG_VINT_VALID@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rbx), %eax
	movl	%r9d, %r10d
	movl	%r8d, %r11d
	movl	%ecx, %ebx
	movl	%edx, %ecx
	movl	%esi, %edx
	movq	_MSG_FLAG_GLB_EVNT_VALID@GOTPCREL(%rip), %rsi
	orl	(%rsi), %eax
	movl	16(%rbp), %r14d
	movq	_MSG_FLAG_VINT_STS_BIT_VALID@GOTPCREL(%rip), %rsi
	orl	(%rsi), %eax
	subq	$8, %rsp
	movl	%eax, %esi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	%r14
	pushq	%r10
	pushq	%r11
	pushq	%rbx
	callq	_ti_sci_set_irq
	addq	$48, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MSG_FLAG_IA_ID_VALID,4,2       ## @MSG_FLAG_IA_ID_VALID
	.comm	_MSG_FLAG_VINT_VALID,4,2        ## @MSG_FLAG_VINT_VALID
	.comm	_MSG_FLAG_GLB_EVNT_VALID,4,2    ## @MSG_FLAG_GLB_EVNT_VALID
	.comm	_MSG_FLAG_VINT_STS_BIT_VALID,4,2 ## @MSG_FLAG_VINT_STS_BIT_VALID
	.no_dead_strip	_ti_sci_cmd_set_event_map
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ti_sci_cmd_set_event_map
_ti_sci_cmd_set_event_map:              ; @ti_sci_cmd_set_event_map
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	mov	x7, x4
	mov	x8, x3
	mov	x3, x2
	mov	x2, x1
Lloh0:
	adrp	x9, _MSG_FLAG_IA_ID_VALID@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MSG_FLAG_IA_ID_VALID@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
Lloh3:
	adrp	x10, _MSG_FLAG_VINT_VALID@GOTPAGE
Lloh4:
	ldr	x10, [x10, _MSG_FLAG_VINT_VALID@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh6:
	adrp	x10, _MSG_FLAG_GLB_EVNT_VALID@GOTPAGE
Lloh7:
	ldr	x10, [x10, _MSG_FLAG_GLB_EVNT_VALID@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	orr	w9, w9, w10
Lloh9:
	adrp	x10, _MSG_FLAG_VINT_STS_BIT_VALID@GOTPAGE
Lloh10:
	ldr	x10, [x10, _MSG_FLAG_VINT_STS_BIT_VALID@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w1, w9, w10
	stp	w6, wzr, [sp, #4]
	str	w5, [sp]
	mov	w4, #0
	mov	w5, #0
	mov	x6, x8
	bl	_ti_sci_set_irq
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MSG_FLAG_IA_ID_VALID,4,2       ; @MSG_FLAG_IA_ID_VALID
	.comm	_MSG_FLAG_VINT_VALID,4,2        ; @MSG_FLAG_VINT_VALID
	.comm	_MSG_FLAG_GLB_EVNT_VALID,4,2    ; @MSG_FLAG_GLB_EVNT_VALID
	.comm	_MSG_FLAG_VINT_STS_BIT_VALID,4,2 ; @MSG_FLAG_VINT_STS_BIT_VALID
	.no_dead_strip	_ti_sci_cmd_set_event_map
.subsections_via_symbols
