	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_bool
_add_bool:                              ## @add_bool
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rcx, %rbx
	movq	%rdx, %r15
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	leaq	17(%rdx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_AGALOC
	movq	%rax, %r13
	movsbl	(%rbx), %edi
	callq	_IS_WHITESPACE_CHAR
	testq	%rax, %rax
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	testq	%r12, %r12
	je	LBB0_3
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leaq	-1(%r12), %r14
	movsbl	1(%rbx), %edi
	incq	%rbx
	callq	_IS_WHITESPACE_CHAR
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	cmpq	$1, %r12
	movq	%r14, %r12
	jne	LBB0_4
	jmp	LBB0_6
LBB0_1:
	movq	%r12, %r14
LBB0_6:
	testq	%r14, %r14
	je	LBB0_7
LBB0_8:
	movsbl	(%rbx), %edi
	callq	_IS_DEC_DIGIT_CHAR
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	callq	_atoi
	jmp	LBB0_11
LBB0_3:
	movq	%r12, %r14
	testq	%r14, %r14
	jne	LBB0_8
LBB0_7:
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_10:
	movsbl	(%rbx), %edi
	callq	_IS_FALSE_TYPE_CHAR
	movl	%eax, %ecx
	xorl	%eax, %eax
	testl	%ecx, %ecx
	sete	%al
LBB0_11:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movl	%eax, 12(%r13)
	movq	_OPARG_TYPE_BOOLEAN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%r13)
	movq	%r13, %rdi
	addq	$16, %rdi
	movq	%rdi, (%r13)
	movq	%r15, %rdx
	callq	_memcpy
	movq	_NUL@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	(%r13), %rcx
	movb	%al, (%rcx,%r15)
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_addArgListEntry
	movq	%r13, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bool val"

	.comm	_OPARG_TYPE_BOOLEAN,4,2         ## @OPARG_TYPE_BOOLEAN
	.comm	_NUL,1,0                        ## @NUL
	.no_dead_strip	_add_bool
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_bool
_add_bool:                              ; @add_bool
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x24, x4
	mov	x23, x3
	mov	x20, x2
	mov	x22, x1
	mov	x19, x0
	add	x0, x2, #17
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	bl	_AGALOC
	mov	x21, x0
	ldrsb	w0, [x23]
	bl	_IS_WHITESPACE_CHAR
	cmp	x0, #0
	ccmp	x24, #0, #4, ne
	b.ne	LBB0_2
; %bb.1:
	mov	x25, x24
	b	LBB0_3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	x25, x24, #1
	ldrsb	w0, [x23, #1]!
	bl	_IS_WHITESPACE_CHAR
	cmp	x0, #0
	ccmp	x24, #1, #4, ne
	mov	x24, x25
	b.ne	LBB0_2
LBB0_3:
	cbz	x25, LBB0_6
; %bb.4:
	ldrsb	w0, [x23]
	bl	_IS_DEC_DIGIT_CHAR
	cbz	x0, LBB0_7
; %bb.5:
	mov	x0, x23
	bl	_atoi
	b	LBB0_8
LBB0_6:
	mov	w0, #0
	b	LBB0_8
LBB0_7:
	ldrsb	w0, [x23]
	bl	_IS_FALSE_TYPE_CHAR
	cmp	w0, #0
	cset	w0, eq
LBB0_8:
Lloh2:
	adrp	x8, _OPARG_TYPE_BOOLEAN@GOTPAGE
Lloh3:
	ldr	x8, [x8, _OPARG_TYPE_BOOLEAN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	stp	w8, w0, [x21, #8]
	add	x0, x21, #16
	str	x0, [x21]
	mov	x1, x22
	mov	x2, x20
	bl	_memcpy
Lloh5:
	adrp	x8, _NUL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NUL@GOTPAGEOFF]
	ldrb	w8, [x8]
	ldr	x9, [x21]
	strb	w8, [x9, x20]
	mov	x0, x19
	mov	x1, x21
	bl	_addArgListEntry
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bool val"

	.comm	_OPARG_TYPE_BOOLEAN,4,2         ; @OPARG_TYPE_BOOLEAN
	.comm	_NUL,1,0                        ; @NUL
	.no_dead_strip	_add_bool
.subsections_via_symbols
