	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emit_flags
_emit_flags:                            ## @emit_flags
	.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
	movq	%rcx, %r14
	movq	%rdi, %rbx
	movl	(%rcx), %r15d
	xorl	%esi, %esi
	cmpl	$2, (%rdi)
	sete	%sil
	cmpl	$1, 4(%rdi)
	adcl	$1, %esi
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_DMEMIT
	cmpl	$2, (%rbx)
	jne	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_DMEMIT
LBB0_2:
	movq	%rbx, %rdi
	callq	_writethrough_mode
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_4
LBB0_5:
	movq	%rbx, %rdi
	callq	_passthrough_mode
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_4
LBB0_7:
	movq	%rbx, %rdi
	callq	_writeback_mode
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.4(%rip), %rdi
LBB0_4:
	xorl	%eax, %eax
	callq	_DMEMIT
	cmpl	$0, 4(%rbx)
	jne	LBB0_12
LBB0_11:
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_DMEMIT
LBB0_12:
	movl	%r15d, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_DMEMIT
	movq	%rbx, %rdi
	callq	_cache_device_name
	movl	8(%rbx), %edx
	leaq	L_.str.6(%rip), %rdi
	movl	%eax, %esi
	callq	_DMERR
	cmpl	$0, 4(%rbx)
	jne	LBB0_12
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u "

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

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

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

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

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

L_.str.6:                               ## @.str.6
	.asciz	"%s: internal error: unknown io mode: %d"

L_.str.7:                               ## @.str.7
	.asciz	"no_discard_passdown "

	.no_dead_strip	_emit_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emit_flags
_emit_flags:                            ; @emit_flags
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x3
	mov	x20, x0
	ldr	w21, [x3]
	ldp	w8, w9, [x0]
	cmp	w8, #2
	mov	w8, #1
	cinc	w8, w8, eq
	cmp	w9, #0
	cinc	w8, w8, eq
	str	x8, [sp]
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_DMEMIT
	ldr	w8, [x20]
	cmp	w8, #2
	b.ne	LBB0_2
; %bb.1:
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_DMEMIT
LBB0_2:
	mov	x0, x20
	bl	_writethrough_mode
	cbz	x0, LBB0_4
; %bb.3:
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_8
LBB0_4:
	mov	x0, x20
	bl	_passthrough_mode
	cbz	x0, LBB0_6
; %bb.5:
Lloh6:
	adrp	x0, l_.str.3@PAGE
Lloh7:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_8
LBB0_6:
	mov	x0, x20
	bl	_writeback_mode
	cbz	x0, LBB0_11
; %bb.7:
Lloh8:
	adrp	x0, l_.str.4@PAGE
Lloh9:
	add	x0, x0, l_.str.4@PAGEOFF
LBB0_8:
	bl	_DMEMIT
	ldr	w8, [x20, #4]
	cbnz	w8, LBB0_10
LBB0_9:
Lloh10:
	adrp	x0, l_.str.7@PAGE
Lloh11:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_DMEMIT
LBB0_10:
	str	w21, [x19]
	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
	add	sp, sp, #64
	ret
LBB0_11:
Lloh12:
	adrp	x0, l_.str.5@PAGE
Lloh13:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_DMEMIT
	mov	x0, x20
	bl	_cache_device_name
	mov	x1, x0
	ldr	w2, [x20, #8]
Lloh14:
	adrp	x0, l_.str.6@PAGE
Lloh15:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_DMERR
	ldr	w8, [x20, #4]
	cbnz	w8, LBB0_10
	b	LBB0_9
	.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 AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u "

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

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

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

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

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

l_.str.6:                               ; @.str.6
	.asciz	"%s: internal error: unknown io mode: %d"

l_.str.7:                               ; @.str.7
	.asciz	"no_discard_passdown "

	.no_dead_strip	_emit_flags
.subsections_via_symbols
