	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ssip_rx_bootinforeq
_ssip_rx_bootinforeq:                   ## @ssip_rx_bootinforeq
	.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	%rsi, %rbx
	movq	%rdi, %r14
	callq	_hsi_client_drvdata
	movq	%rax, %r13
	movq	_SSIP_CMT_LOADER_SYNC@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	jne	LBB0_1
## %bb.10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movl	(%r13), %edx
	leal	-128(%rdx), %eax
	cmpl	$2, %eax
	jb	LBB0_4
## %bb.2:
	cmpl	$130, %edx
	jne	LBB0_9
## %bb.3:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_err
	movq	%r14, %rdi
	callq	_ssip_error
LBB0_4:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	leaq	4(%r13), %r12
	movq	%r12, %rdi
	callq	_spin_lock_bh
	movl	$129, (%r13)
	movq	%r12, %rdi
	callq	_spin_unlock_bh
	movq	_SSIP_WAKETEST_FLAG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	12(%r13), %rsi
	callq	_test_and_set_bit
	testl	%eax, %eax
	jne	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_ssi_waketest
LBB0_6:
	movq	%r12, %rdi
	callq	_spin_lock_bh
	movq	%r13, %rbx
	addq	$8, %rbx
	movq	_jiffies@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	movq	_SSIP_WDTOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_msecs_to_jiffies
	addq	%rax, %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_mod_timer
	movq	%r12, %rdi
	callq	_spin_unlock_bh
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_dev_dbg
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_SSIP_DATA_VERSION
	movq	_SSIP_LOCAL_VERID@GOTPCREL(%rip), %r15
	cmpl	(%r15), %eax
	je	LBB0_8
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	callq	_dev_warn
LBB0_8:
	movq	%r13, %rdi
	callq	_ssip_claim_cmd
	movq	%rax, %rbx
	movl	(%r15), %edi
	callq	_SSIP_BOOTINFO_RESP_CMD
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_ssip_set_cmd
	movq	_ssip_release_cmd@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hsi_async_write                ## TAILCALL
LBB0_9:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_dbg                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SSIP_CMT_LOADER_SYNC,8,3       ## @SSIP_CMT_LOADER_SYNC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Boot info req on active state\n"

	.comm	_SSIP_WAKETEST_FLAG,4,2         ## @SSIP_WAKETEST_FLAG
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_SSIP_WDTOUT,4,2                ## @SSIP_WDTOUT
L_.str.1:                               ## @.str.1
	.asciz	"Send BOOTINFO_RESP\n"

	.comm	_SSIP_LOCAL_VERID,4,2           ## @SSIP_LOCAL_VERID
L_.str.2:                               ## @.str.2
	.asciz	"boot info req verid mismatch\n"

	.comm	_ssip_release_cmd,4,2           ## @ssip_release_cmd
L_.str.3:                               ## @.str.3
	.asciz	"Wrong state M(%d)\n"

	.no_dead_strip	_ssip_rx_bootinforeq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ssip_rx_bootinforeq
_ssip_rx_bootinforeq:                   ; @ssip_rx_bootinforeq
	.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	x21, x1
	mov	x19, x0
	bl	_hsi_client_drvdata
Lloh0:
	adrp	x8, _SSIP_CMT_LOADER_SYNC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SSIP_CMT_LOADER_SYNC@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x21
	b.eq	LBB0_10
; %bb.1:
	mov	x20, x0
	ldr	w8, [x0]
	sub	w9, w8, #128
	cmp	w9, #2
	b.lo	LBB0_4
; %bb.2:
	cmp	w8, #130
	b.ne	LBB0_9
; %bb.3:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_dev_err
	mov	x0, x19
	bl	_ssip_error
LBB0_4:
	add	x22, x20, #4
	mov	x0, x22
	bl	_spin_lock_bh
	mov	w8, #129
	mov	x23, x20
	str	w8, [x23], #12
	mov	x0, x22
	bl	_spin_unlock_bh
Lloh5:
	adrp	x8, _SSIP_WAKETEST_FLAG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SSIP_WAKETEST_FLAG@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, x23
	bl	_test_and_set_bit
	cbnz	w0, LBB0_6
; %bb.5:
	mov	x0, x19
	mov	w1, #1
	bl	_ssi_waketest
LBB0_6:
	mov	x0, x22
	bl	_spin_lock_bh
	add	x23, x20, #8
Lloh8:
	adrp	x8, _jiffies@GOTPAGE
Lloh9:
	ldr	x8, [x8, _jiffies@GOTPAGEOFF]
Lloh10:
	ldr	x24, [x8]
Lloh11:
	adrp	x8, _SSIP_WDTOUT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _SSIP_WDTOUT@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_msecs_to_jiffies
	add	x1, x0, x24
	mov	x0, x23
	bl	_mod_timer
	mov	x0, x22
	bl	_spin_unlock_bh
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
	mov	x0, x21
	bl	_SSIP_DATA_VERSION
Lloh16:
	adrp	x21, _SSIP_LOCAL_VERID@GOTPAGE
Lloh17:
	ldr	x21, [x21, _SSIP_LOCAL_VERID@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w0, w8
	b.eq	LBB0_8
; %bb.7:
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_dev_warn
LBB0_8:
	mov	x0, x20
	bl	_ssip_claim_cmd
	mov	x20, x0
	ldr	w0, [x21]
	bl	_SSIP_BOOTINFO_RESP_CMD
	mov	x1, x0
	mov	x0, x20
	bl	_ssip_set_cmd
Lloh20:
	adrp	x8, _ssip_release_cmd@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ssip_release_cmd@GOTPAGEOFF]
Lloh22:
	ldr	w8, [x8]
	str	w8, [x20]
	mov	x0, x19
	mov	x1, x20
	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
	b	_hsi_async_write
LBB0_9:
	str	x8, [sp]
Lloh23:
	adrp	x1, l_.str.3@PAGE
Lloh24:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_dev_dbg
LBB0_10:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_SSIP_CMT_LOADER_SYNC,8,3       ; @SSIP_CMT_LOADER_SYNC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Boot info req on active state\n"

	.comm	_SSIP_WAKETEST_FLAG,4,2         ; @SSIP_WAKETEST_FLAG
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_SSIP_WDTOUT,4,2                ; @SSIP_WDTOUT
l_.str.1:                               ; @.str.1
	.asciz	"Send BOOTINFO_RESP\n"

	.comm	_SSIP_LOCAL_VERID,4,2           ; @SSIP_LOCAL_VERID
l_.str.2:                               ; @.str.2
	.asciz	"boot info req verid mismatch\n"

	.comm	_ssip_release_cmd,4,2           ; @ssip_release_cmd
l_.str.3:                               ; @.str.3
	.asciz	"Wrong state M(%d)\n"

	.no_dead_strip	_ssip_rx_bootinforeq
.subsections_via_symbols
