	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_write_field_flags              ## -- Begin function write_field_flags
	.p2align	4, 0x90
_write_field_flags:                     ## @write_field_flags
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	xorl	%eax, %eax
	movl	$0, %ecx
	testb	$1, %dil
	je	LBB0_2
## %bb.1:
	movq	_FLAG_BARE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_2:
	movl	$0, %edx
	testb	$32, %dil
	je	LBB0_4
## %bb.3:
	movq	_FLAG_OPT_VAR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_4:
	orl	%ecx, %edx
	movq	_FLAG_EXCL@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	testq	%rdi, %rcx
	cmovel	%eax, %ecx
	orl	%edx, %ecx
	movq	_FLAG_OPT_FIELD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	andq	%rdi, %rax
	movl	%ecx, %edx
	orl	$2, %edx
	testq	%rax, %rax
	cmovel	%ecx, %edx
	shrl	$19, %edi
	andl	$4, %edi
	orl	%edx, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	popq	%rbp
	jmp	_wint                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FLAG_BARE,4,2                  ## @FLAG_BARE
	.comm	_FLAG_OPT_VAR,4,2               ## @FLAG_OPT_VAR
	.comm	_FLAG_EXCL,8,3                  ## @FLAG_EXCL
	.comm	_FLAG_OPT_FIELD,8,3             ## @FLAG_OPT_FIELD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_write_field_flags              ; -- Begin function write_field_flags
	.p2align	2
_write_field_flags:                     ; @write_field_flags
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _FLAG_BARE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FLAG_BARE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	x0, #0x1
	csel	w8, wzr, w8, eq
Lloh3:
	adrp	x9, _FLAG_OPT_VAR@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FLAG_OPT_VAR@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	x0, #0x20
	csel	w9, wzr, w9, eq
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _FLAG_EXCL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FLAG_EXCL@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	tst	x9, x0
	csel	w9, wzr, w9, eq
	orr	w8, w8, w9
Lloh9:
	adrp	x9, _FLAG_OPT_FIELD@GOTPAGE
Lloh10:
	ldr	x9, [x9, _FLAG_OPT_FIELD@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	orr	w10, w8, #0x2
	tst	x9, x0
	csel	w8, w8, w10, eq
	ubfx	x9, x0, #19, #13
	and	w9, w9, #0x4
	orr	w0, w8, w9
	b	_wint
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FLAG_BARE,4,2                  ; @FLAG_BARE
	.comm	_FLAG_OPT_VAR,4,2               ; @FLAG_OPT_VAR
	.comm	_FLAG_EXCL,8,3                  ; @FLAG_EXCL
	.comm	_FLAG_OPT_FIELD,8,3             ; @FLAG_OPT_FIELD
.subsections_via_symbols
