	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ddb_unscript                   ## -- Begin function ddb_unscript
	.p2align	4, 0x90
_ddb_unscript:                          ## @ddb_unscript
	.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	%rsi, %r14
	cmpl	$2, %edi
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_usage
LBB0_2:
	movq	_SYSCTL_UNSCRIPT@GOTPCREL(%rip), %r12
	movq	(%r12), %r15
	movq	8(%r14), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	leaq	1(%rax), %r8
	movq	%r15, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	callq	_sysctlbyname
	testl	%eax, %eax
	js	LBB0_3
## %bb.7:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_3:
	movq	_errno@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	movq	_EINVAL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_4
## %bb.5:
	addq	$8, %r14
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, (%rax)
	movq	_EX_DATAERR@GOTPCREL(%rip), %rax
	movq	%r14, %r12
	jmp	LBB0_6
LBB0_4:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %edi
	movq	(%r12), %rdx
	leaq	L_.str(%rip), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_err                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SYSCTL_UNSCRIPT,8,3            ## @SYSCTL_UNSCRIPT
	.comm	_errno,8,3                      ## @errno
	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_ENOENT,8,3                     ## @ENOENT
	.comm	_EX_DATAERR,4,2                 ## @EX_DATAERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sysctl: %s"

	.comm	_EX_OSERR,4,2                   ## @EX_OSERR
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ddb_unscript                   ; -- Begin function ddb_unscript
	.p2align	2
_ddb_unscript:                          ; @ddb_unscript
	.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, x1
	cmp	w0, #2
	b.eq	LBB0_2
; %bb.1:
	bl	_usage
LBB0_2:
	ldr	x20, [x19, #8]!
Lloh0:
	adrp	x8, _SYSCTL_UNSCRIPT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SYSCTL_UNSCRIPT@GOTPAGEOFF]
Lloh2:
	ldr	x21, [x8]
	mov	x0, x20
	bl	_strlen
	add	x4, x0, #1
	mov	x0, x21
	mov	x1, #0
	mov	x2, #0
	mov	x3, x20
	bl	_sysctlbyname
	tbnz	w0, #31, LBB0_4
; %bb.3:
	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_4:
Lloh3:
	adrp	x8, _errno@GOTPAGE
Lloh4:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
	ldr	x9, [x8]
Lloh5:
	adrp	x10, _EINVAL@GOTPAGE
Lloh6:
	ldr	x10, [x10, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_6
; %bb.5:
Lloh8:
	adrp	x9, _ENOENT@GOTPAGE
Lloh9:
	ldr	x9, [x9, _ENOENT@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	str	x9, [x8]
Lloh11:
	adrp	x8, _EX_DATAERR@GOTPAGE
Lloh12:
	ldr	x8, [x8, _EX_DATAERR@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh13:
	adrp	x19, _SYSCTL_UNSCRIPT@GOTPAGE
Lloh14:
	ldr	x19, [x19, _SYSCTL_UNSCRIPT@GOTPAGEOFF]
Lloh15:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
	ldr	x2, [x19]
Lloh17:
	adrp	x1, l_.str@PAGE
Lloh18:
	add	x1, x1, l_.str@PAGEOFF
	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
	b	_err
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_SYSCTL_UNSCRIPT,8,3            ; @SYSCTL_UNSCRIPT
	.comm	_errno,8,3                      ; @errno
	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_ENOENT,8,3                     ; @ENOENT
	.comm	_EX_DATAERR,4,2                 ; @EX_DATAERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sysctl: %s"

	.comm	_EX_OSERR,4,2                   ; @EX_OSERR
.subsections_via_symbols
