	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function flags_to_val
_flags_to_val:                          ## @flags_to_val
	.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	%rdi, %rbx
	movq	_errno@GOTPCREL(%rip), %r14
	movq	$0, (%r14)
	leaq	-56(%rbp), %rsi
	xorl	%edx, %edx
	callq	_strtol
	movq	(%r14), %rcx
	movq	_ERANGE@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	je	LBB0_3
## %bb.1:
	movq	-56(%rbp), %rcx
	cmpb	$0, (%rcx)
	je	LBB0_2
LBB0_3:
	movq	%rbx, %rdi
	callq	_strdup
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movl	$1, %edi
	callq	_err
LBB0_5:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_strtok
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%rax, %rbx
	xorl	%r12d, %r12d
	movq	_flagvaltab@GOTPCREL(%rip), %r13
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_10 Depth 2
	movq	(%r13), %rax
	movq	8(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	$24, %r15d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rbx, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_11
## %bb.12:                              ##   in Loop: Header=BB0_10 Depth=2
	incq	%r14
	movq	(%r13), %rax
	movq	(%rax,%r15), %rsi
	addq	$16, %r15
	testq	%rsi, %rsi
	jne	LBB0_10
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r13), %rax
LBB0_13:                                ##   in Loop: Header=BB0_8 Depth=1
	movl	%r14d, %ecx
	shlq	$4, %rcx
	cmpq	$0, 8(%rax,%rcx)
	je	LBB0_14
## %bb.15:                              ##   in Loop: Header=BB0_8 Depth=1
	orl	(%rax,%rcx), %r12d
	xorl	%edi, %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_strtok
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_8
	jmp	LBB0_16
LBB0_14:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	movl	$-1, %r12d
	jmp	LBB0_17
LBB0_6:
	xorl	%r12d, %r12d
LBB0_16:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_free
	jmp	LBB0_17
LBB0_2:
	movq	_CCDF_UNIFORM@GOTPCREL(%rip), %rcx
	movq	_CCDF_MIRROR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	xorl	%r12d, %r12d
	negl	%edx
	sbbl	%r12d, %r12d
	orl	%eax, %r12d
LBB0_17:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_errno,8,3                      ## @errno
	.comm	_ERANGE,8,3                     ## @ERANGE
	.comm	_CCDF_UNIFORM,4,2               ## @CCDF_UNIFORM
	.comm	_CCDF_MIRROR,4,2                ## @CCDF_MIRROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"no memory to parse flags"

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

	.comm	_flagvaltab,8,3                 ## @flagvaltab
	.no_dead_strip	_flags_to_val
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function flags_to_val
_flags_to_val:                          ; @flags_to_val
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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	x19, x0
Lloh0:
	adrp	x20, _errno@GOTPAGE
Lloh1:
	ldr	x20, [x20, _errno@GOTPAGEOFF]
	str	xzr, [x20]
	add	x1, sp, #8
	mov	w2, #0
	bl	_strtol
	ldr	x8, [x20]
Lloh2:
	adrp	x9, _ERANGE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _ERANGE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.1:
	ldr	x8, [sp, #8]
	ldrb	w8, [x8]
	cbz	w8, LBB0_16
LBB0_2:
	mov	x0, x19
	bl	_strdup
	mov	x19, x0
	cbnz	x0, LBB0_4
; %bb.3:
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #1
	bl	_err
LBB0_4:
Lloh7:
	adrp	x1, l_.str.1@PAGE
Lloh8:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_strtok
	cbz	x0, LBB0_14
; %bb.5:
	mov	x22, x0
	mov	w20, #0
Lloh9:
	adrp	x23, _flagvaltab@GOTPAGE
Lloh10:
	ldr	x23, [x23, _flagvaltab@GOTPAGEOFF]
Lloh11:
	adrp	x21, l_.str.1@PAGE
Lloh12:
	add	x21, x21, l_.str.1@PAGEOFF
LBB0_6:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_8 Depth 2
	ldr	x8, [x23]
	ldr	x1, [x8, #8]
	cbz	x1, LBB0_13
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	x24, #0
	mov	w25, #24
LBB0_8:                                 ;   Parent Loop BB0_6 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x22
	bl	_strcmp
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=2
	add	x24, x24, #1
	ldr	x8, [x23]
	ldr	x1, [x8, x25]
	add	x25, x25, #16
	cbnz	x1, LBB0_8
	b	LBB0_11
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	x8, [x23]
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	add	x9, x8, w24, uxtw #4
	ldr	x9, [x9, #8]
	cbz	x9, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_6 Depth=1
	and	x9, x24, #0xffffffff
	lsl	x9, x9, #4
	ldr	w8, [x8, x9]
	orr	w20, w8, w20
	mov	x0, #0
	mov	x1, x21
	bl	_strtok
	mov	x22, x0
	cbnz	x0, LBB0_6
	b	LBB0_15
LBB0_13:
	mov	x0, x19
	bl	_free
	mov	w20, #-1
	b	LBB0_17
LBB0_14:
	mov	w20, #0
LBB0_15:
	mov	x0, x19
	bl	_free
	b	LBB0_17
LBB0_16:
Lloh13:
	adrp	x8, _CCDF_UNIFORM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _CCDF_UNIFORM@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
Lloh16:
	adrp	x9, _CCDF_MIRROR@GOTPAGE
Lloh17:
	ldr	x9, [x9, _CCDF_MIRROR@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w8, w9, w8
	bics	wzr, w0, w8
	csinv	w20, w0, wzr, eq
LBB0_17:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_errno,8,3                      ; @errno
	.comm	_ERANGE,8,3                     ; @ERANGE
	.comm	_CCDF_UNIFORM,4,2               ; @CCDF_UNIFORM
	.comm	_CCDF_MIRROR,4,2                ; @CCDF_MIRROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"no memory to parse flags"

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

	.comm	_flagvaltab,8,3                 ; @flagvaltab
	.no_dead_strip	_flags_to_val
.subsections_via_symbols
