	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmd_detach
_cmd_detach:                            ## @cmd_detach
	.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	%rdi, %r14
	movq	_BUFSIZ@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r15
	xorl	%eax, %eax
	callq	_gctl_get_handle
	movq	%rax, %rbx
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rcx
	movq	%rax, %rdi
	movl	$-1, %edx
	callq	_gctl_ro_param
	leaq	L_.str.2(%rip), %rsi
	leaq	L_.str.3(%rip), %rcx
	movq	%rbx, %rdi
	movl	$-1, %edx
	callq	_gctl_ro_param
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	movq	%r14, %rdx
	callq	_sprintf
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	movl	$-1, %edx
	movq	%r15, %rcx
	callq	_gctl_ro_param
	movq	%rbx, %rdi
	callq	_gctl_issue
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.6(%rip), %rsi
	movl	$1, %edi
	movq	%r14, %rdx
	movq	%rax, %rcx
	callq	_errx
LBB0_2:
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFSIZ,4,2                     ## @BUFSIZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"verb"

L_.str.1:                               ## @.str.1
	.asciz	"destroy geom"

L_.str.2:                               ## @.str.2
	.asciz	"class"

L_.str.3:                               ## @.str.3
	.asciz	"BDE"

L_.str.4:                               ## @.str.4
	.asciz	"%s.bde"

L_.str.5:                               ## @.str.5
	.asciz	"geom"

L_.str.6:                               ## @.str.6
	.asciz	"Detach of %s failed: %s"

	.no_dead_strip	_cmd_detach
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmd_detach
_cmd_detach:                            ; @cmd_detach
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _BUFSIZ@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BUFSIZ@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	mov	x9, x8
Lloh3:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh4:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x20, x9, x8
	mov	sp, x20
	bl	_gctl_get_handle
	mov	x21, x0
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
Lloh7:
	adrp	x3, l_.str.1@PAGE
Lloh8:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	w2, #-1
	bl	_gctl_ro_param
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
Lloh11:
	adrp	x3, l_.str.3@PAGE
Lloh12:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x21
	mov	w2, #-1
	bl	_gctl_ro_param
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x20
	mov	x2, x19
	bl	_sprintf
Lloh15:
	adrp	x1, l_.str.5@PAGE
Lloh16:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	mov	w2, #-1
	mov	x3, x20
	bl	_gctl_ro_param
	mov	x0, x21
	bl	_gctl_issue
	cbz	x0, LBB0_2
; %bb.1:
	mov	x3, x0
Lloh17:
	adrp	x1, l_.str.6@PAGE
Lloh18:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #1
	mov	x2, x19
	bl	_errx
LBB0_2:
	mov	w0, #0
	bl	_exit
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFSIZ,4,2                     ; @BUFSIZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"verb"

l_.str.1:                               ; @.str.1
	.asciz	"destroy geom"

l_.str.2:                               ; @.str.2
	.asciz	"class"

l_.str.3:                               ; @.str.3
	.asciz	"BDE"

l_.str.4:                               ; @.str.4
	.asciz	"%s.bde"

l_.str.5:                               ; @.str.5
	.asciz	"geom"

l_.str.6:                               ; @.str.6
	.asciz	"Detach of %s failed: %s"

	.no_dead_strip	_cmd_detach
.subsections_via_symbols
