	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gctl_param_add
_gctl_param_add:                        ## @gctl_param_add
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	movq	%rdi, %rbx
	cmpq	$0, (%rdi)
	je	LBB0_2
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	%r8d, %r15d
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	%rbx, %rdi
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	callq	_gctl_new_arg
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	movq	%rax, %r12
	movq	%r14, %rdi
	callq	_strdup
	movq	%rax, (%r12)
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_gctl_check_alloc
	movq	(%r12), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.4:
	callq	_strlen
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	incq	%rax
	movq	%rax, 24(%r12)
	movq	%rdi, 16(%r12)
	movl	%r15d, 8(%r12)
	testl	%r13d, %r13d
	jns	LBB0_6
## %bb.5:
	movq	_GCTL_PARAM_ASCII@GOTPCREL(%rip), %rax
	orl	(%rax), %r15d
	movl	%r15d, 8(%r12)
	callq	_strlen
	movq	%rax, %r13
	incl	%r13d
LBB0_6:
	movl	%r13d, 12(%r12)
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_GCTL_PARAM_ASCII,4,2           ## @GCTL_PARAM_ASCII
	.no_dead_strip	_gctl_param_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gctl_param_add
_gctl_param_add:                        ; @gctl_param_add
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	cbz	x0, LBB0_2
; %bb.1:
	mov	x23, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_3
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x20, x4
	mov	x19, x3
	mov	x21, x2
	mov	x24, x1
	mov	x0, x23
	bl	_gctl_new_arg
	cbz	x0, LBB0_2
; %bb.4:
	mov	x22, x0
	mov	x0, x24
	bl	_strdup
	mov	x1, x0
	str	x0, [x22]
	mov	x0, x23
	bl	_gctl_check_alloc
	ldr	x0, [x22]
	cbz	x0, LBB0_2
; %bb.5:
	bl	_strlen
	add	x8, x0, #1
	stp	x19, x8, [x22, #16]
	str	w20, [x22, #8]
	tbz	w21, #31, LBB0_7
; %bb.6:
Lloh0:
	adrp	x8, _GCTL_PARAM_ASCII@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GCTL_PARAM_ASCII@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w8, w8, w20
	str	w8, [x22, #8]
	mov	x0, x19
	bl	_strlen
	add	w21, w0, #1
LBB0_7:
	str	w21, [x22, #12]
	b	LBB0_2
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GCTL_PARAM_ASCII,4,2           ; @GCTL_PARAM_ASCII
	.no_dead_strip	_gctl_param_add
.subsections_via_symbols
