	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sender
_sender:                                ## @sender
	.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	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r15
	addq	$64, %rdi
	callq	_atomic_read
	testq	%rax, %rax
	je	LBB0_1
## %bb.12:
	movq	(%rbx), %rax
	movq	8(%rbx), %rcx
	movl	(%rcx), %edx
	orl	$4, %edx
	movl	%edx, (%rax)
	movl	4(%rcx), %ecx
	movl	%ecx, 4(%rax)
	movq	_IPMI_ERR_UNSPECIFIED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rax)
	movl	$3, 16(%rbx)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_deliver_recv_msg               ## TAILCALL
LBB0_1:
	cmpq	$0, 56(%r15)
	je	LBB0_6
## %bb.2:
	addq	$20, %rbx
	leaq	48(%r15), %rsi
	movq	%rbx, %rdi
	callq	_list_add_tail
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_smi_event_handler
	movq	_SI_SM_IDLE@GOTPCREL(%rip), %r14
	cmpl	(%r14), %eax
	je	LBB0_5
## %bb.3:
	movq	_SI_SHORT_TIMEOUT_USEC@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %edi
	callq	_udelay
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_smi_event_handler
	cmpl	(%r14), %eax
	jne	LBB0_4
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	leaq	8(%r15), %r14
	movq	%r14, %rdi
	callq	_spin_lock_irqsave
	xorl	%eax, %eax
	testl	%r12d, %r12d
	setg	%al
	addq	$20, %rbx
	leaq	(%r15,%rax,4), %rsi
	addq	$48, %rsi
	movq	%rbx, %rdi
	callq	_list_add_tail
	movq	(%r15), %rax
	movq	_SI_NORMAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_11
## %bb.7:
	cmpq	$0, 40(%r15)
	jne	LBB0_11
## %bb.8:
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	%rsi, 32(%r15)
	leaq	24(%r15), %rdi
	movq	_SI_TIMEOUT_JIFFIES@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	callq	_mod_timer
	movq	16(%r15), %rdi
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.9:
	callq	_wake_up_process
LBB0_10:
	movq	%r15, %rdi
	callq	_start_next_msg
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_smi_event_handler
LBB0_11:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock_irqrestore         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IPMI_ERR_UNSPECIFIED,4,2       ## @IPMI_ERR_UNSPECIFIED
	.comm	_SI_SM_IDLE,4,2                 ## @SI_SM_IDLE
	.comm	_SI_SHORT_TIMEOUT_USEC,4,2      ## @SI_SHORT_TIMEOUT_USEC
	.comm	_SI_NORMAL,8,3                  ## @SI_NORMAL
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_SI_TIMEOUT_JIFFIES,8,3         ## @SI_TIMEOUT_JIFFIES
	.no_dead_strip	_sender
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sender
_sender:                                ; @sender
	.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	x22, x2
	mov	x21, x1
	mov	x19, x0
	add	x0, x0, #64
	bl	_atomic_read
	cbz	x0, LBB0_2
; %bb.1:
	ldp	x9, x8, [x21]
	ldr	w10, [x8]
	orr	w10, w10, #0x4
	str	w10, [x9]
	ldr	w8, [x8, #4]
Lloh0:
	adrp	x10, _IPMI_ERR_UNSPECIFIED@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IPMI_ERR_UNSPECIFIED@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	stp	w8, w10, [x9, #4]
	mov	w8, #3
	str	w8, [x21, #16]
	mov	x0, x19
	mov	x1, x21
	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	_deliver_recv_msg
LBB0_2:
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_7
; %bb.3:
	add	x0, x21, #20
	add	x1, x19, #48
	bl	_list_add_tail
	mov	x0, x19
	mov	w1, #0
	bl	_smi_event_handler
Lloh3:
	adrp	x20, _SI_SM_IDLE@GOTPAGE
Lloh4:
	ldr	x20, [x20, _SI_SM_IDLE@GOTPAGEOFF]
	ldr	w8, [x20]
	cmp	w0, w8
	b.eq	LBB0_6
; %bb.4:
Lloh5:
	adrp	x21, _SI_SHORT_TIMEOUT_USEC@GOTPAGE
Lloh6:
	ldr	x21, [x21, _SI_SHORT_TIMEOUT_USEC@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x21]
	bl	_udelay
	ldr	w1, [x21]
	mov	x0, x19
	bl	_smi_event_handler
	ldr	w8, [x20]
	cmp	w0, w8
	b.ne	LBB0_5
LBB0_6:
	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
	ret
LBB0_7:
	add	x20, x19, #8
	mov	x0, x20
	bl	_spin_lock_irqsave
	add	x0, x21, #20
	cmp	w22, #0
	mov	w8, #48
	mov	w9, #52
	csel	x8, x9, x8, gt
	add	x1, x19, x8
	bl	_list_add_tail
	ldr	x8, [x19]
Lloh7:
	adrp	x9, _SI_NORMAL@GOTPAGE
Lloh8:
	ldr	x9, [x9, _SI_NORMAL@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_12
; %bb.8:
	ldr	x8, [x19, #40]
	cbnz	x8, LBB0_12
; %bb.9:
Lloh10:
	adrp	x8, _jiffies@GOTPAGE
Lloh11:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
	str	x8, [x19, #32]
	add	x0, x19, #24
Lloh13:
	adrp	x9, _SI_TIMEOUT_JIFFIES@GOTPAGE
Lloh14:
	ldr	x9, [x9, _SI_TIMEOUT_JIFFIES@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	add	x1, x9, x8
	bl	_mod_timer
	ldr	x0, [x19, #16]
	cbz	x0, LBB0_11
; %bb.10:
	bl	_wake_up_process
LBB0_11:
	mov	x0, x19
	bl	_start_next_msg
	mov	x0, x19
	mov	w1, #0
	bl	_smi_event_handler
LBB0_12:
	mov	x0, x20
	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	_spin_unlock_irqrestore
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_IPMI_ERR_UNSPECIFIED,4,2       ; @IPMI_ERR_UNSPECIFIED
	.comm	_SI_SM_IDLE,4,2                 ; @SI_SM_IDLE
	.comm	_SI_SHORT_TIMEOUT_USEC,4,2      ; @SI_SHORT_TIMEOUT_USEC
	.comm	_SI_NORMAL,8,3                  ; @SI_NORMAL
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_SI_TIMEOUT_JIFFIES,8,3         ; @SI_TIMEOUT_JIFFIES
	.no_dead_strip	_sender
.subsections_via_symbols
