	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wait_for_tpm_stat              ## -- Begin function wait_for_tpm_stat
	.p2align	4, 0x90
_wait_for_tpm_stat:                     ## @wait_for_tpm_stat
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r12
	movl	%esi, %ebx
	movq	%rdi, %r14
	callq	*(%rdi)
	notl	%eax
	xorl	%ecx, %ecx
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	testl	%eax, %ebx
	je	LBB0_13
## %bb.1:
	movq	_jiffies@GOTPCREL(%rip), %rbx
	movq	(%rbx), %r13
	addq	%r12, %r13
	cmpq	$0, 8(%r14)
	je	LBB0_7
	.p2align	4, 0x90
## %bb.2:
	testq	%r12, %r12
	jle	LBB0_10
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r15d
	movq	%r14, %rdi
	callq	*(%r14)
	notl	%eax
	xorl	%esi, %esi
	testl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
	sete	%sil
	movl	%r15d, %edi
	movq	%r12, %rdx
	callq	_wait_event_interruptible_timeout
	testq	%rax, %rax
	jg	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_ERESTARTSYS@GOTPCREL(%rip), %rcx
	addq	(%rcx), %rax
	jne	LBB0_10
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_current@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_freezing
	testq	%rax, %rax
	je	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_TIF_SIGPENDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_clear_thread_flag
	movq	%r13, %r12
	subq	(%rbx), %r12
	testq	%r12, %r12
	jg	LBB0_3
	jmp	LBB0_10
LBB0_7:
	movq	_TPM_TIMEOUT@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r12), %edi
	callq	_msleep
	movq	%r14, %rdi
	callq	*(%r14)
	notl	%eax
	testl	%eax, -44(%rbp)                 ## 4-byte Folded Reload
	je	LBB0_12
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	(%rbx), %rdi
	movq	%r13, %rsi
	callq	_time_before
	testq	%rax, %rax
	jne	LBB0_8
LBB0_10:
	movq	_ETIME@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	jmp	LBB0_13
LBB0_12:
	xorl	%ecx, %ecx
LBB0_13:
	movl	%ecx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.comm	_ETIME,4,2                      ## @ETIME
	.comm	_ERESTARTSYS,8,3                ## @ERESTARTSYS
	.comm	_current,4,2                    ## @current
	.comm	_TIF_SIGPENDING,4,2             ## @TIF_SIGPENDING
	.comm	_TPM_TIMEOUT,4,2                ## @TPM_TIMEOUT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_wait_for_tpm_stat              ; -- Begin function wait_for_tpm_stat
	.p2align	2
_wait_for_tpm_stat:                     ; @wait_for_tpm_stat
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
	blr	x8
	bics	wzr, w19, w0
	b.ne	LBB0_2
LBB0_1:
	mov	w0, #0
	b	LBB0_13
LBB0_2:
Lloh0:
	adrp	x25, _jiffies@GOTPAGE
Lloh1:
	ldr	x25, [x25, _jiffies@GOTPAGEOFF]
	ldr	x8, [x25]
	add	x21, x8, x23
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_9
; %bb.3:
	cmp	x23, #1
	b.lt	LBB0_12
; %bb.4:
Lloh2:
	adrp	x26, _ERESTARTSYS@GOTPAGE
Lloh3:
	ldr	x26, [x26, _ERESTARTSYS@GOTPAGEOFF]
Lloh4:
	adrp	x27, _current@GOTPAGE
Lloh5:
	ldr	x27, [x27, _current@GOTPAGEOFF]
Lloh6:
	adrp	x28, _TIF_SIGPENDING@GOTPAGE
Lloh7:
	ldr	x28, [x28, _TIF_SIGPENDING@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w24, [x22]
	ldr	x8, [x20]
	mov	x0, x20
	blr	x8
	bics	wzr, w19, w0
	cset	w1, eq
	mov	x0, x24
	mov	x2, x23
	bl	_wait_event_interruptible_timeout
	cmp	x0, #0
	b.gt	LBB0_1
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x8, [x26]
	cmn	x0, x8
	b.ne	LBB0_12
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x27]
	bl	_freezing
	cbz	x0, LBB0_12
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x28]
	bl	_clear_thread_flag
	ldr	x8, [x25]
	sub	x23, x21, x8
	cmp	x23, #1
	b.ge	LBB0_5
	b	LBB0_12
LBB0_9:
Lloh8:
	adrp	x22, _TPM_TIMEOUT@GOTPAGE
Lloh9:
	ldr	x22, [x22, _TPM_TIMEOUT@GOTPAGEOFF]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x22]
	bl	_msleep
	ldr	x8, [x20]
	mov	x0, x20
	blr	x8
	bics	wzr, w19, w0
	b.eq	LBB0_1
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x0, [x25]
	mov	x1, x21
	bl	_time_before
	cbnz	x0, LBB0_10
LBB0_12:
Lloh10:
	adrp	x8, _ETIME@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ETIME@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_13:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.comm	_ETIME,4,2                      ; @ETIME
	.comm	_ERESTARTSYS,8,3                ; @ERESTARTSYS
	.comm	_current,4,2                    ; @current
	.comm	_TIF_SIGPENDING,4,2             ; @TIF_SIGPENDING
	.comm	_TPM_TIMEOUT,4,2                ; @TPM_TIMEOUT
.subsections_via_symbols
