	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function smi_start_processing
_smi_start_processing:                  ## @smi_start_processing
	.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	%rdi, %rbx
	movl	%esi, 56(%rdi)
	movq	48(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	*%rax
LBB0_2:
	leaq	32(%rbx), %r14
	movq	_smi_timeout@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%rbx, %rdx
	callq	_setup_timer
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rsi, 40(%rbx)
	movq	_SI_TIMEOUT_JIFFIES@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_mod_timer
	movq	(%rbx), %rcx
	movq	_num_force_kipmid@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rcx
	jae	LBB0_4
## %bb.3:
	movq	_force_kipmid@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpl	$0, (%rax,%rcx,4)
	jne	LBB0_6
	jmp	LBB0_8
LBB0_4:
	movq	8(%rbx), %rax
	movq	_SI_BT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_8
## %bb.5:
	cmpl	$0, 28(%rbx)
	jne	LBB0_8
LBB0_6:
	movq	_ipmi_thread@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rsi
	callq	_kthread_run
	movq	%rax, 16(%rbx)
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	24(%rbx), %r14d
	movq	16(%rbx), %rdi
	callq	_PTR_ERR
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edi
	movl	%eax, %edx
	callq	_dev_notice
	movq	$0, 16(%rbx)
LBB0_8:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_smi_timeout,4,2                ## @smi_timeout
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_SI_TIMEOUT_JIFFIES,8,3         ## @SI_TIMEOUT_JIFFIES
	.comm	_num_force_kipmid,8,3           ## @num_force_kipmid
	.comm	_force_kipmid,8,3               ## @force_kipmid
	.comm	_SI_BT,8,3                      ## @SI_BT
	.comm	_ipmi_thread,4,2                ## @ipmi_thread
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"kipmi%d"

L_.str.1:                               ## @.str.1
	.asciz	"Could not start kernel thread due to error %ld, only using timers to drive the interface\n"

	.no_dead_strip	_smi_start_processing
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function smi_start_processing
_smi_start_processing:                  ; @smi_start_processing
	.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, x0
	str	w1, [x0, #56]
	ldr	x8, [x0, #48]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	blr	x8
LBB0_2:
	add	x20, x19, #32
Lloh0:
	adrp	x8, _smi_timeout@GOTPAGE
Lloh1:
	ldr	x8, [x8, _smi_timeout@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	_setup_timer
Lloh3:
	adrp	x8, _jiffies@GOTPAGE
Lloh4:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x19, #40]
Lloh6:
	adrp	x9, _SI_TIMEOUT_JIFFIES@GOTPAGE
Lloh7:
	ldr	x9, [x9, _SI_TIMEOUT_JIFFIES@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	add	x1, x9, x8
	mov	x0, x20
	bl	_mod_timer
	ldr	x3, [x19]
Lloh9:
	adrp	x8, _num_force_kipmid@GOTPAGE
Lloh10:
	ldr	x8, [x8, _num_force_kipmid@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x3, x8
	b.hs	LBB0_4
; %bb.3:
Lloh12:
	adrp	x8, _force_kipmid@GOTPAGE
Lloh13:
	ldr	x8, [x8, _force_kipmid@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	ldr	w8, [x8, x3, lsl #2]
	cbnz	w8, LBB0_6
	b	LBB0_8
LBB0_4:
	ldr	x8, [x19, #8]
Lloh15:
	adrp	x9, _SI_BT@GOTPAGE
Lloh16:
	ldr	x9, [x9, _SI_BT@GOTPAGEOFF]
Lloh17:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_8
; %bb.5:
	ldr	w8, [x19, #28]
	cbnz	w8, LBB0_8
LBB0_6:
Lloh18:
	adrp	x8, _ipmi_thread@GOTPAGE
Lloh19:
	ldr	x8, [x8, _ipmi_thread@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x2, l_.str@PAGE
Lloh22:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x19
	bl	_kthread_run
	str	x0, [x19, #16]
	bl	_IS_ERR
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w20, [x19, #24]
	ldr	x0, [x19, #16]
	bl	_PTR_ERR
	mov	x2, x0
Lloh23:
	adrp	x1, l_.str.1@PAGE
Lloh24:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_dev_notice
	str	xzr, [x19, #16]
LBB0_8:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_smi_timeout,4,2                ; @smi_timeout
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_SI_TIMEOUT_JIFFIES,8,3         ; @SI_TIMEOUT_JIFFIES
	.comm	_num_force_kipmid,8,3           ; @num_force_kipmid
	.comm	_force_kipmid,8,3               ; @force_kipmid
	.comm	_SI_BT,8,3                      ; @SI_BT
	.comm	_ipmi_thread,4,2                ; @ipmi_thread
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"kipmi%d"

l_.str.1:                               ; @.str.1
	.asciz	"Could not start kernel thread due to error %ld, only using timers to drive the interface\n"

	.no_dead_strip	_smi_start_processing
.subsections_via_symbols
