	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ddb_script                     ## -- Begin function ddb_script
	.p2align	4, 0x90
_ddb_script:                            ## @ddb_script
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	cmpl	$2, %edi
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_usage
LBB0_2:
	movq	8(%rbx), %rdi
	movl	$61, %esi
	callq	_strchr
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	movq	_SYSCTL_SCRIPT@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	8(%rbx), %rbx
	movq	%rbx, %rdi
	callq	_strlen
	leaq	1(%rax), %r8
	movl	%r14d, %edi
	xorl	%esi, %esi
	xorl	%edx, %edx
	movq	%rbx, %rcx
	callq	_sysctlbyname
	testq	%rax, %rax
	js	LBB0_4
## %bb.6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_5:
	movq	8(%rbx), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ddb_list_scripts               ## TAILCALL
LBB0_4:
	movq	_EX_OSERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_SYSCTL_SCRIPTS@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_err                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_SYSCTL_SCRIPT,4,2              ## @SYSCTL_SCRIPT
	.comm	_EX_OSERR,4,2                   ## @EX_OSERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"sysctl: %s"

	.comm	_SYSCTL_SCRIPTS,4,2             ## @SYSCTL_SCRIPTS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ddb_script                     ; -- Begin function ddb_script
	.p2align	2
_ddb_script:                            ; @ddb_script
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	cmp	w0, #2
	b.eq	LBB0_2
; %bb.1:
	bl	_usage
LBB0_2:
	ldr	x0, [x19, #8]
	mov	w1, #61
	bl	_strchr
	cbz	x0, LBB0_5
; %bb.3:
Lloh0:
	adrp	x8, _SYSCTL_SCRIPT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SYSCTL_SCRIPT@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	ldr	x19, [x19, #8]
	mov	x0, x19
	bl	_strlen
	add	x4, x0, #1
	mov	x0, x20
	mov	x1, #0
	mov	x2, #0
	mov	x3, x19
	bl	_sysctlbyname
	tbnz	x0, #63, LBB0_6
; %bb.4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x0, [x19, #8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ddb_list_scripts
LBB0_6:
Lloh3:
	adrp	x8, _EX_OSERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EX_OSERR@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _SYSCTL_SCRIPTS@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SYSCTL_SCRIPTS@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_err
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SYSCTL_SCRIPT,4,2              ; @SYSCTL_SCRIPT
	.comm	_EX_OSERR,4,2                   ; @EX_OSERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"sysctl: %s"

	.comm	_SYSCTL_SCRIPTS,4,2             ; @SYSCTL_SCRIPTS
.subsections_via_symbols
