	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_boolean
_get_boolean:                           ## @get_boolean
	.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
	testq	%rsi, %rsi
	je	LBB0_17
## %bb.1:
	movq	%rdi, %r14
	movb	(%rdi), %al
	movl	$1, %r15d
	cmpb	$49, %al
	je	LBB0_18
## %bb.2:
	cmpb	$48, %al
	jne	LBB0_4
LBB0_3:
	xorl	%r15d, %r15d
	jmp	LBB0_18
LBB0_4:
	movq	%rsi, %rbx
	cmpq	$4, %rsi
	jb	LBB0_9
## %bb.5:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	$4, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_18
## %bb.6:
	cmpq	$5, %rbx
	jb	LBB0_10
## %bb.7:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	$5, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_10
	jmp	LBB0_3
LBB0_9:
	cmpq	$3, %rbx
	jne	LBB0_11
LBB0_10:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	$3, %edx
	callq	_memcmp
	movb	$1, %bl
	testq	%rax, %rax
	jne	LBB0_13
	jmp	LBB0_18
LBB0_11:
	cmpq	$2, %rbx
	jb	LBB0_17
## %bb.12:
	xorl	%ebx, %ebx
LBB0_13:
	leaq	L_.str.3(%rip), %rsi
	movq	%r14, %rdi
	movl	$2, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_3
## %bb.14:
	leaq	L_.str.4(%rip), %rsi
	movq	%r14, %rdi
	movl	$2, %edx
	callq	_memcmp
	testq	%rax, %rax
	je	LBB0_18
## %bb.15:
	testb	%bl, %bl
	je	LBB0_17
## %bb.16:
	leaq	L_.str.5(%rip), %rsi
	movq	%r14, %rdi
	movl	$3, %edx
	callq	_memcmp
	movl	$0, %r15d
	testq	%rax, %rax
	je	LBB0_18
LBB0_17:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_18:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"true"

L_.str.1:                               ## @.str.1
	.asciz	"false"

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

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

L_.str.4:                               ## @.str.4
	.asciz	"on"

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

	.comm	_EINVAL,4,2                     ## @EINVAL
	.no_dead_strip	_get_boolean
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_boolean
_get_boolean:                           ; @get_boolean
	.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
	cbz	x1, LBB0_16
; %bb.1:
	mov	x19, x0
	ldrb	w8, [x0]
	cmp	w8, #49
	b.eq	LBB0_17
; %bb.2:
	cmp	w8, #48
	b.ne	LBB0_4
LBB0_3:
	mov	w20, #0
	b	LBB0_18
LBB0_4:
	mov	x20, x1
	cmp	x1, #4
	b.lo	LBB0_8
; %bb.5:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #4
	bl	_memcmp
	cbz	x0, LBB0_17
; %bb.6:
	cmp	x20, #5
	b.lo	LBB0_9
; %bb.7:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #5
	bl	_memcmp
	cbnz	x0, LBB0_9
	b	LBB0_3
LBB0_8:
	cmp	x20, #3
	b.ne	LBB0_10
LBB0_9:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w2, #3
	bl	_memcmp
	mov	w20, #1
	cbnz	x0, LBB0_12
	b	LBB0_18
LBB0_10:
	cmp	x20, #2
	b.lo	LBB0_16
; %bb.11:
	mov	w20, #0
LBB0_12:
Lloh6:
	adrp	x1, l_.str.3@PAGE
Lloh7:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w2, #2
	bl	_memcmp
	cbz	x0, LBB0_3
; %bb.13:
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	w2, #2
	bl	_memcmp
	cbz	x0, LBB0_17
; %bb.14:
	cbz	w20, LBB0_16
; %bb.15:
Lloh10:
	adrp	x1, l_.str.5@PAGE
Lloh11:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	w2, #3
	bl	_memcmp
	cbz	x0, LBB0_3
LBB0_16:
Lloh12:
	adrp	x8, _EINVAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_18
LBB0_17:
	mov	w20, #1
LBB0_18:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"true"

l_.str.1:                               ; @.str.1
	.asciz	"false"

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

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

l_.str.4:                               ; @.str.4
	.asciz	"on"

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

	.comm	_EINVAL,4,2                     ; @EINVAL
	.no_dead_strip	_get_boolean
.subsections_via_symbols
