	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_mdconfig_attach_au
_do_mdconfig_attach_au:                 ## @do_mdconfig_attach_au
	.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	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	addl	$-128, %esi
	cmpl	$3, %esi
	jae	LBB0_18
## %bb.1:
	movq	%rdi, %r8
	movslq	%esi, %rax
	leaq	l_reltable.do_mdconfig_attach_au(%rip), %rdx
	movslq	(%rdx,%rax,4), %rcx
	addq	%rdx, %rcx
	movq	_path_mdconfig@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.3(%rip), %rsi
	leaq	-60(%rbp), %rdi
	callq	_run
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_run_exitstr
	movl	%eax, %r14d
	movl	%ebx, %edi
	callq	_run_exitnumber
	leaq	L_.str.4(%rip), %rsi
	movl	$1, %edi
	movl	%r14d, %edx
	movl	%eax, %ecx
	xorl	%eax, %eax
	callq	_errx
LBB0_3:
	movq	_norun@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.4:
	movq	_unit@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	jmp	LBB0_16
LBB0_5:
	movl	-60(%rbp), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_fdopen
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.6(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_7:
	leaq	-56(%rbp), %rsi
	movq	%r14, %rdi
	callq	_fgetln
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_11
## %bb.8:
	movq	-56(%rbp), %rax
	movq	_mdnamelen@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rdx
	leaq	1(%rdx), %rcx
	cmpq	%rcx, %rax
	jbe	LBB0_11
## %bb.9:
	subq	%rdx, %rax
	cmpq	$11, %rax
	ja	LBB0_11
## %bb.10:
	movq	_mdname@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_12
LBB0_11:
	leaq	L_.str.7(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
LBB0_12:
	movq	_mdnamelen@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	%rax, %rbx
	movq	-56(%rbp), %rdx
	subq	%rax, %rdx
	movq	%rdx, -56(%rbp)
	leaq	-44(%rbp), %r15
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_strncpy
	movq	-56(%rbp), %rax
	movb	$0, -44(%rbp,%rax)
	leaq	-72(%rbp), %rsi
	movq	%r15, %rdi
	movl	$10, %edx
	callq	_strtoul
	movq	%rax, %rbx
	movq	_ULONG_MAX@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_14
## %bb.13:
	movq	-72(%rbp), %rax
	cmpb	$10, (%rax)
	je	LBB0_15
LBB0_14:
	leaq	L_.str.7(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	callq	_errx
LBB0_15:
	movq	_unit@GOTPCREL(%rip), %rax
	movq	%rbx, (%rax)
	movq	%r14, %rdi
	callq	_fclose
LBB0_16:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_19
## %bb.17:
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	xorl	%eax, %eax
	callq	_abort
LBB0_19:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"-t swap"

L_.str.1:                               ## @.str.1
	.asciz	"-t vnode"

L_.str.2:                               ## @.str.2
	.asciz	"-t malloc"

L_.str.3:                               ## @.str.3
	.asciz	"%s -a %s%s"

	.comm	_path_mdconfig,4,2              ## @path_mdconfig
L_.str.4:                               ## @.str.4
	.asciz	"mdconfig (attach) exited %s %d"

	.comm	_norun,8,3                      ## @norun
	.comm	_unit,8,3                       ## @unit
L_.str.5:                               ## @.str.5
	.asciz	"r"

L_.str.6:                               ## @.str.6
	.asciz	"fdopen"

	.comm	_mdnamelen,4,2                  ## @mdnamelen
	.comm	_mdname,4,2                     ## @mdname
L_.str.7:                               ## @.str.7
	.asciz	"unexpected output from mdconfig (attach)"

	.comm	_ULONG_MAX,8,3                  ## @ULONG_MAX
	.no_dead_strip	_do_mdconfig_attach_au
	.section	__TEXT,__const
	.p2align	2                               ## @reltable.do_mdconfig_attach_au
l_reltable.do_mdconfig_attach_au:
	.long	L_.str.1-l_reltable.do_mdconfig_attach_au
	.long	L_.str-l_reltable.do_mdconfig_attach_au
	.long	L_.str.2-l_reltable.do_mdconfig_attach_au

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_mdconfig_attach_au
_do_mdconfig_attach_au:                 ; @do_mdconfig_attach_au
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	sub	w8, w1, #128
	cmp	w8, #3
	b.hs	LBB0_17
; %bb.1:
	mov	x4, x0
Lloh3:
	adrp	x9, l_switch.table.do_mdconfig_attach_au@PAGE
Lloh4:
	add	x9, x9, l_switch.table.do_mdconfig_attach_au@PAGEOFF
	ldr	x3, [x9, w8, sxtw #3]
Lloh5:
	adrp	x8, _path_mdconfig@GOTPAGE
Lloh6:
	ldr	x8, [x8, _path_mdconfig@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	add	x0, sp, #40
	bl	_run
	cbz	w0, LBB0_3
; %bb.2:
	mov	x19, x0
	bl	_run_exitstr
	mov	x20, x0
	mov	x0, x19
	bl	_run_exitnumber
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x20, x0, [sp]
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_3:
Lloh12:
	adrp	x8, _norun@GOTPAGE
Lloh13:
	ldr	x8, [x8, _norun@GOTPAGEOFF]
Lloh14:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.4:
Lloh15:
	adrp	x8, _unit@GOTPAGE
Lloh16:
	ldr	x8, [x8, _unit@GOTPAGEOFF]
Lloh17:
	str	xzr, [x8]
	b	LBB0_15
LBB0_5:
	ldr	w0, [sp, #40]
Lloh18:
	adrp	x1, l_.str.5@PAGE
Lloh19:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_fdopen
	mov	x19, x0
	cbnz	x0, LBB0_7
; %bb.6:
Lloh20:
	adrp	x1, l_.str.6@PAGE
Lloh21:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_7:
	add	x1, sp, #24
	mov	x0, x19
	bl	_fgetln
	mov	x20, x0
Lloh22:
	adrp	x21, _mdnamelen@GOTPAGE
Lloh23:
	ldr	x21, [x21, _mdnamelen@GOTPAGEOFF]
	cbz	x0, LBB0_10
; %bb.8:
	ldr	x8, [sp, #24]
	ldrsw	x2, [x21]
	add	x9, x2, #1
	sub	x10, x8, x2
	cmp	x8, x9
	ccmp	x10, #11, #2, hi
	b.hi	LBB0_10
; %bb.9:
Lloh24:
	adrp	x8, _mdname@GOTPAGE
Lloh25:
	ldr	x8, [x8, _mdname@GOTPAGEOFF]
Lloh26:
	ldr	w1, [x8]
	mov	x0, x20
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_strncmp
	cbz	x0, LBB0_11
LBB0_10:
Lloh27:
	adrp	x1, l_.str.7@PAGE
Lloh28:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_11:
	ldrsw	x8, [x21]
	add	x1, x20, x8
	ldr	x9, [sp, #24]
	sub	x2, x9, x8
	str	x2, [sp, #24]
	add	x20, sp, #44
	add	x0, sp, #44
	bl	_strncpy
	ldr	x8, [sp, #24]
	strb	wzr, [x20, x8]
	add	x0, sp, #44
	add	x1, sp, #32
	mov	w2, #10
	bl	_strtoul
	mov	x20, x0
Lloh29:
	adrp	x8, _ULONG_MAX@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ULONG_MAX@GOTPAGEOFF]
Lloh31:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_13
; %bb.12:
	ldr	x8, [sp, #32]
	ldrb	w8, [x8]
	cmp	w8, #10
	b.eq	LBB0_14
LBB0_13:
Lloh32:
	adrp	x1, l_.str.7@PAGE
Lloh33:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w0, #1
	bl	_errx
LBB0_14:
Lloh34:
	adrp	x8, _unit@GOTPAGE
Lloh35:
	ldr	x8, [x8, _unit@GOTPAGEOFF]
Lloh36:
	str	x20, [x8]
	mov	x0, x19
	bl	_fclose
LBB0_15:
	ldur	x8, [x29, #-40]
Lloh37:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh38:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh39:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.16:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_17:
	bl	_abort
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotStr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"-t swap"

l_.str.1:                               ; @.str.1
	.asciz	"-t vnode"

l_.str.2:                               ; @.str.2
	.asciz	"-t malloc"

l_.str.3:                               ; @.str.3
	.asciz	"%s -a %s%s"

	.comm	_path_mdconfig,4,2              ; @path_mdconfig
l_.str.4:                               ; @.str.4
	.asciz	"mdconfig (attach) exited %s %d"

	.comm	_norun,8,3                      ; @norun
	.comm	_unit,8,3                       ; @unit
l_.str.5:                               ; @.str.5
	.asciz	"r"

l_.str.6:                               ; @.str.6
	.asciz	"fdopen"

	.comm	_mdnamelen,4,2                  ; @mdnamelen
	.comm	_mdname,4,2                     ; @mdname
l_.str.7:                               ; @.str.7
	.asciz	"unexpected output from mdconfig (attach)"

	.comm	_ULONG_MAX,8,3                  ; @ULONG_MAX
	.no_dead_strip	_do_mdconfig_attach_au
	.section	__DATA,__const
	.p2align	3                               ; @switch.table.do_mdconfig_attach_au
l_switch.table.do_mdconfig_attach_au:
	.quad	l_.str.1
	.quad	l_.str
	.quad	l_.str.2

.subsections_via_symbols
