	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipmi_thread
_ipmi_thread:                           ## @ipmi_thread
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	leaq	-48(%rbp), %rdi
	callq	_ipmi_si_set_not_busy
	movq	_current@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$19, %esi
	callq	_set_user_nice
	xorl	%eax, %eax
	callq	_kthread_should_stop
	testl	%eax, %eax
	je	LBB0_1
LBB0_11:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	leaq	-48(%rbp), %r14
	movq	_SI_SM_CALL_WITHOUT_DELAY@GOTPCREL(%rip), %r12
	movq	_SI_SM_CALL_WITH_DELAY@GOTPCREL(%rip), %r13
	jmp	LBB0_2
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	_schedule_timeout_interruptible
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_kthread_should_stop
	testl	%eax, %eax
	jne	LBB0_11
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_spin_lock_irqsave
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_smi_event_handler
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_spin_unlock_irqrestore
	movl	%ebx, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	callq	_ipmi_thread_busy_wait
	cmpl	(%r12), %ebx
	je	LBB0_10
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	(%r13), %ebx
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_schedule
	jmp	LBB0_10
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	_SI_SM_IDLE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %ebx
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	$100, %edi
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_current,4,2                    ## @current
	.comm	_SI_SM_CALL_WITHOUT_DELAY,4,2   ## @SI_SM_CALL_WITHOUT_DELAY
	.comm	_SI_SM_CALL_WITH_DELAY,4,2      ## @SI_SM_CALL_WITH_DELAY
	.comm	_SI_SM_IDLE,4,2                 ## @SI_SM_IDLE
	.no_dead_strip	_ipmi_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipmi_thread
_ipmi_thread:                           ; @ipmi_thread
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
	add	x0, sp, #8
	bl	_ipmi_si_set_not_busy
Lloh0:
	adrp	x8, _current@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #19
	bl	_set_user_nice
	bl	_kthread_should_stop
	cbz	w0, LBB0_2
LBB0_1:
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_2:
Lloh3:
	adrp	x21, _SI_SM_CALL_WITHOUT_DELAY@GOTPAGE
Lloh4:
	ldr	x21, [x21, _SI_SM_CALL_WITHOUT_DELAY@GOTPAGEOFF]
Lloh5:
	adrp	x22, _SI_SM_CALL_WITH_DELAY@GOTPAGE
Lloh6:
	ldr	x22, [x22, _SI_SM_CALL_WITH_DELAY@GOTPAGEOFF]
Lloh7:
	adrp	x23, _SI_SM_IDLE@GOTPAGE
Lloh8:
	ldr	x23, [x23, _SI_SM_IDLE@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_schedule
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	bl	_kthread_should_stop
	cbnz	w0, LBB0_1
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	bl	_spin_lock_irqsave
	mov	x0, x19
	mov	w1, #0
	bl	_smi_event_handler
	mov	x20, x0
	mov	x0, x19
	bl	_spin_unlock_irqrestore
	add	x2, sp, #8
	mov	x0, x20
	mov	x1, x19
	bl	_ipmi_thread_busy_wait
	ldr	w8, [x21]
	cmp	w20, w8
	b.eq	LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x22]
	cmp	w20, w8
	ccmp	w0, #0, #4, eq
	b.ne	LBB0_3
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x23]
	cmp	w20, w8
	b.ne	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #100
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	w0, #1
LBB0_10:                                ;   in Loop: Header=BB0_5 Depth=1
	bl	_schedule_timeout_interruptible
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_current,4,2                    ; @current
	.comm	_SI_SM_CALL_WITHOUT_DELAY,4,2   ; @SI_SM_CALL_WITHOUT_DELAY
	.comm	_SI_SM_CALL_WITH_DELAY,4,2      ; @SI_SM_CALL_WITH_DELAY
	.comm	_SI_SM_IDLE,4,2                 ; @SI_SM_IDLE
	.no_dead_strip	_ipmi_thread
.subsections_via_symbols
