	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fill_flags_cmd
_fill_flags_cmd:                        ## @fill_flags_cmd
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %rax
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movl	$0, -24(%rbp)
	movl	$0, -20(%rbp)
	leaq	-32(%rbp), %rdx
	leaq	-24(%rbp), %r9
	leaq	-20(%rbp), %r8
	movq	%rax, %rdi
	movq	%rcx, %rsi
	movq	%r9, %rcx
	callq	_fill_flags
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EX_DATAERR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	-32(%rbp), %rdx
	leaq	L_.str(%rip), %rsi
	callq	_errx
LBB0_2:
	movl	%r14d, (%rbx)
	movq	_F_NOT@GOTPCREL(%rip), %rax
	movq	_F_OR@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	andl	4(%rbx), %ecx
	orl	$1, %ecx
	movl	%ecx, 4(%rbx)
	movzbl	-24(%rbp), %eax
	movl	-20(%rbp), %ecx
	shll	$8, %ecx
	movzwl	%cx, %ecx
	orl	%eax, %ecx
	movl	%ecx, 8(%rbx)
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EX_DATAERR,4,2                 ## @EX_DATAERR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"invalid flag %s"

	.comm	_F_NOT,4,2                      ## @F_NOT
	.comm	_F_OR,4,2                       ## @F_OR
	.no_dead_strip	_fill_flags_cmd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fill_flags_cmd
_fill_flags_cmd:                        ; @fill_flags_cmd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x8, x3
	mov	x9, x2
	mov	x20, x1
	mov	x19, x0
	str	xzr, [sp]
	add	x2, sp, #8
	add	x3, sp, #4
	mov	x4, sp
	mov	x0, x9
	mov	x1, x8
	bl	_fill_flags
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EX_DATAERR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EX_DATAERR@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldr	x2, [sp, #8]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_errx
LBB0_2:
	str	w20, [x19]
	ldr	w8, [x19, #4]
Lloh5:
	adrp	x9, _F_NOT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _F_NOT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
Lloh8:
	adrp	x10, _F_OR@GOTPAGE
Lloh9:
	ldr	x10, [x10, _F_OR@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	orr	w9, w10, w9
	and	w8, w9, w8
	orr	w8, w8, #0x1
	ldrb	w9, [sp, #4]
	ldr	w10, [sp]
	bfi	w9, w10, #8, #8
	stp	w8, w9, [x19, #4]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EX_DATAERR,4,2                 ; @EX_DATAERR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"invalid flag %s"

	.comm	_F_NOT,4,2                      ; @F_NOT
	.comm	_F_OR,4,2                       ; @F_OR
	.no_dead_strip	_fill_flags_cmd
.subsections_via_symbols
