	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fsck_set_msg_type              ## -- Begin function fsck_set_msg_type
	.p2align	4, 0x90
_fsck_set_msg_type:                     ## @fsck_set_msg_type
	.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
	movq	%rdx, %r15
	movq	%rsi, %r12
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_parse_msg_id
	movl	%eax, %ebx
	testl	%eax, %eax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_die
LBB0_2:
	movq	%r15, %rdi
	callq	_parse_msg_type
	movl	%eax, %r13d
	movq	_FSCK_ERROR@GOTPCREL(%rip), %rax
	movslq	%ebx, %rbx
	cmpl	(%rax), %r13d
	je	LBB0_5
## %bb.3:
	movq	_msg_id_info@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rbx,8), %rax
	movq	_FSCK_FATAL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	movq	%r15, %rdx
	xorl	%eax, %eax
	callq	_die
LBB0_5:
	movq	(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_8
## %bb.6:
	movq	_FSCK_MSG_MAX@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	callq	_ALLOC_ARRAY
	cmpl	$0, (%r15)
	jg	LBB0_9
## %bb.7:
	movq	(%r14), %rax
LBB0_8:
	movl	%r13d, (%rax,%rbx,4)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	xorl	%edi, %edi
	movq	%r14, %rsi
	callq	_fsck_msg_type
	ud2
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Unhandled message id: %s"

	.comm	_FSCK_ERROR,4,2                 ## @FSCK_ERROR
	.comm	_msg_id_info,8,3                ## @msg_id_info
	.comm	_FSCK_FATAL,8,3                 ## @FSCK_FATAL
L_.str.1:                               ## @.str.1
	.asciz	"Cannot demote %s to %s"

	.comm	_FSCK_MSG_MAX,4,2               ## @FSCK_MSG_MAX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fsck_set_msg_type              ; -- Begin function fsck_set_msg_type
	.p2align	2
_fsck_set_msg_type:                     ; @fsck_set_msg_type
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x23, x2
	mov	x22, x1
	mov	x19, x0
	mov	x0, x1
	bl	_parse_msg_id
	mov	x20, x0
	tbz	w0, #31, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x22
	bl	_die
LBB0_2:
	mov	x0, x23
	bl	_parse_msg_type
	mov	x21, x0
Lloh2:
	adrp	x8, _FSCK_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FSCK_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w0, w8
	b.eq	LBB0_5
; %bb.3:
Lloh5:
	adrp	x8, _msg_id_info@GOTPAGE
Lloh6:
	ldr	x8, [x8, _msg_id_info@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x8, [x8, w20, sxtw #3]
Lloh8:
	adrp	x9, _FSCK_FATAL@GOTPAGE
Lloh9:
	ldr	x9, [x9, _FSCK_FATAL@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.4:
	str	x23, [sp]
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	bl	_die
LBB0_5:
	ldr	x8, [x19]
	cbnz	x8, LBB0_8
; %bb.6:
Lloh13:
	adrp	x22, _FSCK_MSG_MAX@GOTPAGE
Lloh14:
	ldr	x22, [x22, _FSCK_MSG_MAX@GOTPAGEOFF]
	ldr	w1, [x22]
	bl	_ALLOC_ARRAY
	ldr	w8, [x22]
	cmp	w8, #0
	b.gt	LBB0_9
; %bb.7:
	ldr	x8, [x19]
LBB0_8:
	str	w21, [x8, w20, sxtw #2]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_9:
	mov	w0, #0
	mov	x1, x19
	bl	_fsck_msg_type
	brk	#0x1
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Unhandled message id: %s"

	.comm	_FSCK_ERROR,4,2                 ; @FSCK_ERROR
	.comm	_msg_id_info,8,3                ; @msg_id_info
	.comm	_FSCK_FATAL,8,3                 ; @FSCK_FATAL
l_.str.1:                               ; @.str.1
	.asciz	"Cannot demote %s to %s"

	.comm	_FSCK_MSG_MAX,4,2               ; @FSCK_MSG_MAX
.subsections_via_symbols
