	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_flag                       ## -- Begin function set_flag
	.p2align	4, 0x90
_set_flag:                              ## @set_flag
	.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
	movl	%r8d, %r15d
	movq	%rcx, %r12
	movl	%edx, %r13d
	movq	%rsi, %rbx
	cmpb	$110, (%rcx)
	jne	LBB0_4
## %bb.1:
	cmpb	$111, 1(%r12)
	jne	LBB0_4
## %bb.2:
	cmpb	$45, 2(%r12)
	jne	LBB0_4
## %bb.3:
	addq	$3, %r12
	xorl	%eax, %eax
	testl	%r15d, %r15d
	sete	%al
	movl	%eax, %r15d
LBB0_4:
	movl	$-1, %r14d
	testl	%r13d, %r13d
	jle	LBB0_9
## %bb.5:
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	addq	$8, %rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	movq	%r12, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	addq	$12, %rbx
	decl	%r13d
	jne	LBB0_6
	jmp	LBB0_9
LBB0_8:
	movq	_FD_INVERT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-8(%rbx), %eax
	xorl	%ecx, %ecx
	testl	%r15d, %r15d
	sete	%cl
	testl	%eax, %eax
	cmovel	%r15d, %ecx
	movslq	-4(%rbx), %rax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movl	%ecx, (%rdx,%rax,4)
	xorl	%r14d, %r14d
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FD_INVERT,4,2                  ## @FD_INVERT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_set_flag                       ; -- Begin function set_flag
	.p2align	2
_set_flag:                              ; @set_flag
	.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
	mov	x19, x4
	mov	x21, x3
	mov	x22, x2
	mov	x20, x0
	ldrb	w8, [x3]
	cmp	w8, #110
	b.ne	LBB0_3
; %bb.1:
	ldrb	w8, [x21, #1]
	cmp	w8, #111
	b.ne	LBB0_3
; %bb.2:
	ldrb	w8, [x21, #2]
	add	x9, x21, #3
	cmp	w19, #0
	cset	w10, eq
	cmp	w8, #45
	csel	w19, w19, w10, ne
	csel	x21, x21, x9, ne
LBB0_3:
	cmp	w22, #1
	b.lt	LBB0_7
; %bb.4:
	add	x23, x1, #4
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23, #4]
	mov	x0, x21
	bl	_strcmp
	cbz	w0, LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x23, x23, #12
	subs	w22, w22, #1
	b.ne	LBB0_5
LBB0_7:
	mov	w0, #-1
	b	LBB0_9
LBB0_8:
Lloh0:
	adrp	x8, _FD_INVERT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FD_INVERT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w19, #0
	cset	w9, eq
	ldur	w10, [x23, #-4]
	ldrsw	x11, [x23]
	tst	w8, w10
	csel	w8, w19, w9, eq
	str	w8, [x20, x11, lsl #2]
LBB0_9:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FD_INVERT,4,2                  ; @FD_INVERT
.subsections_via_symbols
