	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vnic_dev_hang_reset_done       ## -- Begin function vnic_dev_hang_reset_done
	.p2align	4, 0x90
_vnic_dev_hang_reset_done:              ## @vnic_dev_hang_reset_done
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	$0, -32(%rbp)
	movq	$0, -40(%rbp)
	movl	$0, (%rsi)
	movq	_CMD_HANG_RESET_STATUS@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_vnic_dev_capable
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movl	(%r15), %esi
	leaq	-32(%rbp), %rdx
	leaq	-40(%rbp), %rcx
	movq	%rbx, %rdi
	movl	$1000, %r8d                     ## imm = 0x3E8
	callq	_vnic_dev_cmd
	testl	%eax, %eax
	jne	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	cmpq	$0, -32(%rbp)
	sete	%al
	movl	%eax, (%r14)
	xorl	%eax, %eax
LBB0_3:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_vnic_dev_soft_reset_done       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CMD_HANG_RESET_STATUS,4,2      ## @CMD_HANG_RESET_STATUS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_vnic_dev_hang_reset_done       ; -- Begin function vnic_dev_hang_reset_done
	.p2align	2
_vnic_dev_hang_reset_done:              ; @vnic_dev_hang_reset_done
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x1
	mov	x20, x0
	stp	xzr, xzr, [sp]
	str	wzr, [x1]
Lloh0:
	adrp	x21, _CMD_HANG_RESET_STATUS@GOTPAGE
Lloh1:
	ldr	x21, [x21, _CMD_HANG_RESET_STATUS@GOTPAGEOFF]
	ldr	w1, [x21]
	bl	_vnic_dev_capable
	cbz	x0, LBB0_4
; %bb.1:
	ldr	w1, [x21]
	add	x2, sp, #8
	mov	x3, sp
	mov	x0, x20
	mov	w4, #1000
	bl	_vnic_dev_cmd
	cbnz	w0, LBB0_3
; %bb.2:
	ldr	x8, [sp, #8]
	cmp	x8, #0
	cset	w8, eq
	str	w8, [x19]
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	b	_vnic_dev_soft_reset_done
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_CMD_HANG_RESET_STATUS,4,2      ; @CMD_HANG_RESET_STATUS
.subsections_via_symbols
