	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function st_nci_se_wt_timeout
_st_nci_se_wt_timeout:                  ## @st_nci_se_wt_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
	movl	$1, -12(%rbp)
	movq	_se_info@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rdi, %rsi
	callq	_from_timer
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_pr_debug
	movl	$0, (%rbx)
	cmpl	$0, 4(%rbx)
	je	LBB0_1
## %bb.2:
	movl	$0, 4(%rbx)
	movq	24(%rbx), %rax
	movl	(%rax), %edi
	movq	_ST_NCI_DEVICE_MGNT_GATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ST_NCI_EVT_SE_HARD_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-12(%rbp), %rcx
	movl	$1, %r8d
	jmp	LBB0_3
LBB0_1:
	movl	$1, 4(%rbx)
	movq	24(%rbx), %rax
	movl	(%rax), %edi
	movq	_ST_NCI_APDU_READER_GATE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ST_NCI_EVT_SE_SOFT_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
LBB0_3:
	callq	_nci_hci_send_event
	movl	8(%rbx), %edi
	movq	_ETIME@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	xorl	%esi, %esi
	xorl	%edx, %edx
                                        ## kill: def $ecx killed $ecx killed $rcx
	callq	*16(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_se_info,4,2                    ## @se_info
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_ST_NCI_APDU_READER_GATE,4,2    ## @ST_NCI_APDU_READER_GATE
	.comm	_ST_NCI_EVT_SE_SOFT_RESET,4,2   ## @ST_NCI_EVT_SE_SOFT_RESET
	.comm	_ST_NCI_DEVICE_MGNT_GATE,4,2    ## @ST_NCI_DEVICE_MGNT_GATE
	.comm	_ST_NCI_EVT_SE_HARD_RESET,4,2   ## @ST_NCI_EVT_SE_HARD_RESET
	.comm	_ETIME,4,2                      ## @ETIME
	.comm	_info,8,3                       ## @info
	.no_dead_strip	_st_nci_se_wt_timeout
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function st_nci_se_wt_timeout
_st_nci_se_wt_timeout:                  ; @st_nci_se_wt_timeout
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	w20, #1
	str	w20, [sp, #12]
Lloh0:
	adrp	x8, _se_info@GOTPAGE
Lloh1:
	ldr	x8, [x8, _se_info@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x0
	bl	_from_timer
	mov	x19, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_debug
	str	wzr, [x19]
	ldr	w8, [x19, #4]
	cbz	w8, LBB0_2
; %bb.1:
	str	wzr, [x19, #4]
	ldr	x8, [x19, #24]
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _ST_NCI_DEVICE_MGNT_GATE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ST_NCI_DEVICE_MGNT_GATE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _ST_NCI_EVT_SE_HARD_RESET@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ST_NCI_EVT_SE_HARD_RESET@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
	add	x3, sp, #12
	mov	w4, #1
	b	LBB0_3
LBB0_2:
	str	w20, [x19, #4]
	ldr	x8, [x19, #24]
	ldr	w0, [x8]
Lloh11:
	adrp	x8, _ST_NCI_APDU_READER_GATE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ST_NCI_APDU_READER_GATE@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
Lloh14:
	adrp	x8, _ST_NCI_EVT_SE_SOFT_RESET@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ST_NCI_EVT_SE_SOFT_RESET@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x3, #0
	mov	w4, #0
LBB0_3:
	bl	_nci_hci_send_event
	ldr	x8, [x19, #16]
	ldr	w0, [x19, #8]
Lloh17:
	adrp	x9, _ETIME@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ETIME@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	neg	w3, w9
	mov	x1, #0
	mov	w2, #0
	blr	x8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_se_info,4,2                    ; @se_info
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_ST_NCI_APDU_READER_GATE,4,2    ; @ST_NCI_APDU_READER_GATE
	.comm	_ST_NCI_EVT_SE_SOFT_RESET,4,2   ; @ST_NCI_EVT_SE_SOFT_RESET
	.comm	_ST_NCI_DEVICE_MGNT_GATE,4,2    ; @ST_NCI_DEVICE_MGNT_GATE
	.comm	_ST_NCI_EVT_SE_HARD_RESET,4,2   ; @ST_NCI_EVT_SE_HARD_RESET
	.comm	_ETIME,4,2                      ; @ETIME
	.comm	_info,8,3                       ; @info
	.no_dead_strip	_st_nci_se_wt_timeout
.subsections_via_symbols
