	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_machines__findnew              ## -- Begin function machines__findnew
	.p2align	4, 0x90
_machines__findnew:                     ## @machines__findnew
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_PATH_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_machines__find
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	cmpq	%rbx, (%rax)
	je	LBB0_13
LBB0_2:
	movq	_HOST_KERNEL_ID@GOTPCREL(%rip), %rax
	leaq	L_.str(%rip), %rdx
	cmpq	%rbx, (%rax)
	je	LBB0_7
## %bb.3:
	movq	_DEFAULT_GUEST_KERNEL_ID@GOTPCREL(%rip), %rax
	cmpq	%rbx, (%rax)
	je	LBB0_7
## %bb.4:
	movq	_symbol_conf@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movq	%rax, %rdx
	movq	%rbx, %rcx
	callq	_sprintf
	movq	_R_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_access
	testq	%rax, %rax
	je	LBB0_6
## %bb.8:
	movq	_machines__findnew.seen(%rip), %rdi
	testq	%rdi, %rdi
	jne	LBB0_10
## %bb.9:
	movl	$1, %edi
	xorl	%esi, %esi
	callq	_strlist__new
	movq	%rax, %rdi
	movq	%rax, _machines__findnew.seen(%rip)
LBB0_10:
	movq	%r14, %rsi
	callq	_strlist__has_entry
	testl	%eax, %eax
	jne	LBB0_12
## %bb.11:
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	callq	_pr_err
	movq	_machines__findnew.seen(%rip), %rdi
	movq	%r14, %rsi
	callq	_strlist__add
LBB0_12:
	xorl	%eax, %eax
	jmp	LBB0_13
LBB0_6:
	movq	%r14, %rdx
LBB0_7:
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_machines__add
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-32(%rbp), %rcx
	jne	LBB0_15
## %bb.14:
	leaq	-24(%rbp), %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_PATH_MAX,4,2                   ## @PATH_MAX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

	.comm	_HOST_KERNEL_ID,8,3             ## @HOST_KERNEL_ID
	.comm	_DEFAULT_GUEST_KERNEL_ID,8,3    ## @DEFAULT_GUEST_KERNEL_ID
	.comm	_symbol_conf,8,3                ## @symbol_conf
L_.str.1:                               ## @.str.1
	.asciz	"%s/%d"

	.comm	_R_OK,4,2                       ## @R_OK
.zerofill __DATA,__bss,_machines__findnew.seen,8,3 ## @machines__findnew.seen
L_.str.2:                               ## @.str.2
	.asciz	"Can't access file %s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_machines__findnew              ; -- Begin function machines__findnew
	.p2align	2
_machines__findnew:                     ; @machines__findnew
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	sub	sp, sp, #16
	mov	x20, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
Lloh3:
	adrp	x8, _PATH_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PATH_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	mov	x9, x8
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
	bl	_machines__find
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x8, [x0]
	cmp	x8, x20
	b.eq	LBB0_6
LBB0_2:
Lloh8:
	adrp	x8, _HOST_KERNEL_ID@GOTPAGE
Lloh9:
	ldr	x8, [x8, _HOST_KERNEL_ID@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x8, x20
	b.eq	LBB0_4
; %bb.3:
Lloh11:
	adrp	x8, _DEFAULT_GUEST_KERNEL_ID@GOTPAGE
Lloh12:
	ldr	x8, [x8, _DEFAULT_GUEST_KERNEL_ID@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
Lloh14:
	adrp	x9, _symbol_conf@GOTPAGE
Lloh15:
	ldr	x9, [x9, _symbol_conf@GOTPAGEOFF]
Lloh16:
	ldr	x2, [x9]
	cmp	x8, x20
	ccmp	x2, #0, #4, ne
	b.ne	LBB0_8
LBB0_4:
Lloh17:
	adrp	x19, l_.str@PAGE
Lloh18:
	add	x19, x19, l_.str@PAGEOFF
LBB0_5:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x19
	bl	_machines__add
LBB0_6:
	ldur	x8, [x29, #-40]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.7:
	sub	sp, x29, #32
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh22:
	adrp	x1, l_.str.1@PAGE
Lloh23:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x3, x20
	bl	_sprintf
Lloh24:
	adrp	x8, _R_OK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _R_OK@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_access
	cbz	x0, LBB0_5
; %bb.9:
	adrp	x20, _machines__findnew.seen@PAGE
	ldr	x0, [x20, _machines__findnew.seen@PAGEOFF]
	cbnz	x0, LBB0_11
; %bb.10:
	mov	w0, #1
	mov	x1, #0
	bl	_strlist__new
	str	x0, [x20, _machines__findnew.seen@PAGEOFF]
LBB0_11:
	mov	x1, x19
	bl	_strlist__has_entry
	cbnz	w0, LBB0_13
; %bb.12:
Lloh27:
	adrp	x0, l_.str.2@PAGE
Lloh28:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_pr_err
	ldr	x0, [x20, _machines__findnew.seen@PAGEOFF]
	mov	x1, x19
	bl	_strlist__add
LBB0_13:
	mov	x0, #0
	b	LBB0_6
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_PATH_MAX,4,2                   ; @PATH_MAX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

	.comm	_HOST_KERNEL_ID,8,3             ; @HOST_KERNEL_ID
	.comm	_DEFAULT_GUEST_KERNEL_ID,8,3    ; @DEFAULT_GUEST_KERNEL_ID
	.comm	_symbol_conf,8,3                ; @symbol_conf
l_.str.1:                               ; @.str.1
	.asciz	"%s/%d"

	.comm	_R_OK,4,2                       ; @R_OK
.zerofill __DATA,__bss,_machines__findnew.seen,8,3 ; @machines__findnew.seen
l_.str.2:                               ; @.str.2
	.asciz	"Can't access file %s\n"

.subsections_via_symbols
