	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipmi_timeout
_ipmi_timeout:                          ## @ipmi_timeout
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_stop_operation@GOTPCREL(%rip), %rdi
	callq	_atomic_read
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_1:
	movq	_ticks_to_req_ev@GOTPCREL(%rip), %rbx
	decq	(%rbx)
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	callq	_ipmi_request_event
	movq	_IPMI_REQUEST_EV_TIME@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_3:
	movq	_IPMI_TIMEOUT_TIME@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ipmi_timeout_handler
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	_IPMI_TIMEOUT_JIFFIES@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rsi
	addq	(%rax), %rsi
	movq	_ipmi_timer@GOTPCREL(%rip), %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_mod_timer                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_stop_operation,4,2             ## @stop_operation
	.comm	_ticks_to_req_ev,8,3            ## @ticks_to_req_ev
	.comm	_IPMI_REQUEST_EV_TIME,8,3       ## @IPMI_REQUEST_EV_TIME
	.comm	_IPMI_TIMEOUT_TIME,4,2          ## @IPMI_TIMEOUT_TIME
	.comm	_ipmi_timer,4,2                 ## @ipmi_timer
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_IPMI_TIMEOUT_JIFFIES,8,3       ## @IPMI_TIMEOUT_JIFFIES
	.no_dead_strip	_ipmi_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipmi_timeout
_ipmi_timeout:                          ; @ipmi_timeout
	.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
Lloh0:
	adrp	x0, _stop_operation@GOTPAGE
Lloh1:
	ldr	x0, [x0, _stop_operation@GOTPAGEOFF]
	bl	_atomic_read
	cbz	x0, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh2:
	adrp	x19, _ticks_to_req_ev@GOTPAGE
Lloh3:
	ldr	x19, [x19, _ticks_to_req_ev@GOTPAGEOFF]
	ldr	x8, [x19]
	subs	x8, x8, #1
	str	x8, [x19]
	b.ne	LBB0_4
; %bb.3:
	bl	_ipmi_request_event
Lloh4:
	adrp	x8, _IPMI_REQUEST_EV_TIME@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IPMI_REQUEST_EV_TIME@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	str	x8, [x19]
LBB0_4:
Lloh7:
	adrp	x8, _IPMI_TIMEOUT_TIME@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IPMI_TIMEOUT_TIME@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_ipmi_timeout_handler
Lloh10:
	adrp	x8, _jiffies@GOTPAGE
Lloh11:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
Lloh13:
	adrp	x9, _IPMI_TIMEOUT_JIFFIES@GOTPAGE
Lloh14:
	ldr	x9, [x9, _IPMI_TIMEOUT_JIFFIES@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	add	x1, x9, x8
Lloh16:
	adrp	x0, _ipmi_timer@GOTPAGE
Lloh17:
	ldr	x0, [x0, _ipmi_timer@GOTPAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_mod_timer
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_stop_operation,4,2             ; @stop_operation
	.comm	_ticks_to_req_ev,8,3            ; @ticks_to_req_ev
	.comm	_IPMI_REQUEST_EV_TIME,8,3       ; @IPMI_REQUEST_EV_TIME
	.comm	_IPMI_TIMEOUT_TIME,4,2          ; @IPMI_TIMEOUT_TIME
	.comm	_ipmi_timer,4,2                 ; @ipmi_timer
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_IPMI_TIMEOUT_JIFFIES,8,3       ; @IPMI_TIMEOUT_JIFFIES
	.no_dead_strip	_ipmi_timeout
.subsections_via_symbols
