	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function idt_write_temp
_idt_write_temp:                        ## @idt_write_temp
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r12
	movq	%rdx, %rdi
	callq	_idt_temp_get_fmt
	movl	%eax, %r15d
	movq	%r12, %rdi
	callq	_mutex_lock
	cmpl	$128, %ebx
	je	LBB0_6
## %bb.1:
	cmpl	$130, %ebx
	je	LBB0_5
## %bb.2:
	cmpl	$129, %ebx
	jne	LBB0_8
## %bb.3:
	movq	_IDT_SW_TMPALARM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_TMPALARM_LTEMP@GOTPCREL(%rip), %rax
	jmp	LBB0_4
LBB0_6:
	movq	_IDT_SW_TMPADJ@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_TMPADJ_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_idt_sw_read
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	%r15d, %edx
	callq	_SET_FIELD
	movl	%eax, %edx
	jmp	LBB0_7
LBB0_5:
	movq	_IDT_SW_TMPALARM@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_TMPALARM_HTEMP@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %ebx
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_idt_sw_read
	movl	%ebx, %edi
	movl	%eax, %esi
	movl	%r15d, %edx
	callq	_SET_FIELD
	movq	_IDT_TMPALARM_IRQ_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
LBB0_7:
	movq	%r12, %rdi
	movl	%r14d, %esi
	callq	_idt_sw_write
LBB0_8:
	movq	%r12, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mutex_unlock                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IDT_SW_TMPALARM,4,2            ## @IDT_SW_TMPALARM
	.comm	_TMPALARM_LTEMP,4,2             ## @TMPALARM_LTEMP
	.comm	_IDT_TMPALARM_IRQ_MASK,4,2      ## @IDT_TMPALARM_IRQ_MASK
	.comm	_TMPALARM_HTEMP,4,2             ## @TMPALARM_HTEMP
	.comm	_IDT_SW_TMPADJ,4,2              ## @IDT_SW_TMPADJ
	.comm	_TMPADJ_OFFSET,4,2              ## @TMPADJ_OFFSET
	.no_dead_strip	_idt_write_temp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function idt_write_temp
_idt_write_temp:                        ; @idt_write_temp
	.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	x20, x1
	mov	x19, x0
	mov	x0, x2
	bl	_idt_temp_get_fmt
	mov	x21, x0
	mov	x0, x19
	bl	_mutex_lock
	cmp	w20, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w20, #130
	b.eq	LBB0_5
; %bb.2:
	cmp	w20, #129
	b.ne	LBB0_8
; %bb.3:
Lloh0:
	adrp	x8, _IDT_SW_TMPALARM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDT_SW_TMPALARM@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
Lloh3:
	adrp	x8, _TMPALARM_LTEMP@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TMPALARM_LTEMP@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh5:
	adrp	x8, _IDT_SW_TMPADJ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _IDT_SW_TMPADJ@GOTPAGEOFF]
Lloh7:
	ldr	w20, [x8]
Lloh8:
	adrp	x8, _TMPADJ_OFFSET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TMPADJ_OFFSET@GOTPAGEOFF]
Lloh10:
	ldr	w22, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_idt_sw_read
	mov	x1, x0
	mov	x0, x22
	mov	x2, x21
	bl	_SET_FIELD
	mov	x2, x0
	b	LBB0_7
LBB0_5:
Lloh11:
	adrp	x8, _IDT_SW_TMPALARM@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IDT_SW_TMPALARM@GOTPAGEOFF]
Lloh13:
	ldr	w20, [x8]
Lloh14:
	adrp	x8, _TMPALARM_HTEMP@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TMPALARM_HTEMP@GOTPAGEOFF]
LBB0_6:
	ldr	w22, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_idt_sw_read
	mov	x1, x0
	mov	x0, x22
	mov	x2, x21
	bl	_SET_FIELD
Lloh16:
	adrp	x8, _IDT_TMPALARM_IRQ_MASK@GOTPAGE
Lloh17:
	ldr	x8, [x8, _IDT_TMPALARM_IRQ_MASK@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	bic	w2, w0, w8
LBB0_7:
	mov	x0, x19
	mov	x1, x20
	bl	_idt_sw_write
LBB0_8:
	mov	x0, x19
	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
	b	_mutex_unlock
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_IDT_SW_TMPALARM,4,2            ; @IDT_SW_TMPALARM
	.comm	_TMPALARM_LTEMP,4,2             ; @TMPALARM_LTEMP
	.comm	_IDT_TMPALARM_IRQ_MASK,4,2      ; @IDT_TMPALARM_IRQ_MASK
	.comm	_TMPALARM_HTEMP,4,2             ; @TMPALARM_HTEMP
	.comm	_IDT_SW_TMPADJ,4,2              ; @IDT_SW_TMPADJ
	.comm	_TMPADJ_OFFSET,4,2              ; @TMPADJ_OFFSET
	.no_dead_strip	_idt_write_temp
.subsections_via_symbols
