	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function Devices_H_Delete
_Devices_H_Delete:                      ## @Devices_H_Delete
	.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
	movq	_FALSE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %r15d
	movq	_devbug@GOTPCREL(%rip), %r14
	cmpq	$0, (%r14)
	movl	%r15d, %edi
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
	movl	(%rbx), %edi
LBB0_2:
	callq	_Devices_GetHostPath
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	testl	%r15d, %r15d
	je	LBB0_5
## %bb.4:
	movb	$1, %r12b
	movl	$1, %ecx
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	xorl	%esi, %esi
	cmpq	$0, (%r14)
	je	LBB0_8
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_Log_print
LBB0_8:
	testb	%r12b, %r12b
	movl	$170, %eax
	movl	$1, %ecx
	cmovnel	%eax, %ecx
	testb	%bl, %bl
	cmovnel	%eax, %ecx
	testl	%r15d, %r15d
	movl	$167, %eax
	cmovel	%ecx, %eax
	movq	_CPU_regY@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_9:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_host_path@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_Util_unlink
	xorl	%esi, %esi
	xorl	%ebx, %ebx
	testq	%rax, %rax
	sete	%sil
	setne	%bl
	xorl	%ecx, %ecx
	movl	%ebx, %edx
	movl	%ebx, %r12d
	cmpq	$0, (%r14)
	jne	LBB0_7
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_devbug,8,3                     ## @devbug
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"DELETE Command"

	.comm	_CHECK_READ_ONLY,4,2            ## @CHECK_READ_ONLY
	.comm	_host_path,4,2                  ## @host_path
L_.str.1:                               ## @.str.1
	.asciz	"%d deleted, %d failed, %d locked"

	.comm	_CPU_regY,4,2                   ## @CPU_regY
	.comm	_CPU_SetN,4,2                   ## @CPU_SetN
	.comm	_CPU_ClrN,4,2                   ## @CPU_ClrN
	.no_dead_strip	_Devices_H_Delete
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function Devices_H_Delete
_Devices_H_Delete:                      ; @Devices_H_Delete
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
Lloh0:
	adrp	x21, _FALSE@GOTPAGE
Lloh1:
	ldr	x21, [x21, _FALSE@GOTPAGEOFF]
	ldr	w19, [x21]
Lloh2:
	adrp	x20, _devbug@GOTPAGE
Lloh3:
	ldr	x20, [x20, _devbug@GOTPAGEOFF]
	ldr	x8, [x20]
	mov	x0, x19
	cbz	x8, LBB0_2
; %bb.1:
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_Log_print
	ldr	w0, [x21]
LBB0_2:
	bl	_Devices_GetHostPath
	cbz	x0, LBB0_7
; %bb.3:
	cbz	w19, LBB0_8
; %bb.4:
	mov	w21, #0
	mov	w8, #0
	mov	w9, #1
	mov	w22, #1
	ldr	x10, [x20]
	cbz	x10, LBB0_6
LBB0_5:
	stp	x21, x9, [sp, #8]
	str	x8, [sp]
Lloh6:
	adrp	x0, l_.str.1@PAGE
Lloh7:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_Log_print
LBB0_6:
	orr	w8, w21, w22
	cmp	w8, #0
	mov	w8, #170
	csinc	w8, w8, wzr, ne
	mov	w9, #167
	cmp	w19, #0
	csel	w8, w8, w9, eq
Lloh8:
	adrp	x9, _CPU_regY@GOTPAGE
Lloh9:
	ldr	x9, [x9, _CPU_regY@GOTPAGEOFF]
Lloh10:
	str	w8, [x9]
LBB0_7:
	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
	add	sp, sp, #80
	ret
LBB0_8:
Lloh11:
	adrp	x8, _host_path@GOTPAGE
Lloh12:
	ldr	x8, [x8, _host_path@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
	bl	_Util_unlink
	mov	w9, #0
	cmp	x0, #0
	cset	w21, ne
	cset	w8, eq
	mov	x22, x21
	ldr	x10, [x20]
	cbnz	x10, LBB0_5
	b	LBB0_6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotStr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_devbug,8,3                     ; @devbug
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"DELETE Command"

	.comm	_CHECK_READ_ONLY,4,2            ; @CHECK_READ_ONLY
	.comm	_host_path,4,2                  ; @host_path
l_.str.1:                               ; @.str.1
	.asciz	"%d deleted, %d failed, %d locked"

	.comm	_CPU_regY,4,2                   ; @CPU_regY
	.comm	_CPU_SetN,4,2                   ; @CPU_SetN
	.comm	_CPU_ClrN,4,2                   ; @CPU_ClrN
	.no_dead_strip	_Devices_H_Delete
.subsections_via_symbols
