	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function opt_parse_porcelain
_opt_parse_porcelain:                   ## @opt_parse_porcelain
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	(%rdi), %r14
	testl	%edx, %edx
	je	LBB0_3
## %bb.1:
	movq	_STATUS_FORMAT_NONE@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_3:
	movq	%rsi, %rbx
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.5:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.6:
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_4
## %bb.7:
	leaq	L_.str.2(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcmp
	testl	%eax, %eax
	je	LBB0_9
## %bb.10:
	leaq	L_.str.4(%rip), %rdi
	movq	%rbx, %rsi
	callq	_die
	jmp	LBB0_11
LBB0_4:
	movq	_STATUS_FORMAT_PORCELAIN@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %eax
	movl	%eax, (%r14)
LBB0_11:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	movq	_STATUS_FORMAT_PORCELAIN_V2@GOTPCREL(%rip), %rax
	jmp	LBB0_2
	.cfi_endproc
                                        ## -- End function
	.comm	_STATUS_FORMAT_NONE,4,2         ## @STATUS_FORMAT_NONE
	.comm	_STATUS_FORMAT_PORCELAIN,4,2    ## @STATUS_FORMAT_PORCELAIN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"v1"

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

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

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

	.comm	_STATUS_FORMAT_PORCELAIN_V2,4,2 ## @STATUS_FORMAT_PORCELAIN_V2
L_.str.4:                               ## @.str.4
	.asciz	"unsupported porcelain version '%s'"

	.no_dead_strip	_opt_parse_porcelain
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function opt_parse_porcelain
_opt_parse_porcelain:                   ; @opt_parse_porcelain
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x20, [x0]
	cbz	w2, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _STATUS_FORMAT_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _STATUS_FORMAT_NONE@GOTPAGEOFF]
	b	LBB0_9
LBB0_2:
	mov	x19, x1
	cbz	x1, LBB0_8
; %bb.3:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_8
; %bb.4:
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_8
; %bb.5:
Lloh6:
	adrp	x1, l_.str.2@PAGE
Lloh7:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_11
; %bb.6:
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x19
	bl	_strcmp
	cbz	w0, LBB0_11
; %bb.7:
Lloh10:
	adrp	x0, l_.str.4@PAGE
Lloh11:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x19
	bl	_die
	b	LBB0_10
LBB0_8:
Lloh12:
	adrp	x8, _STATUS_FORMAT_PORCELAIN@GOTPAGE
Lloh13:
	ldr	x8, [x8, _STATUS_FORMAT_PORCELAIN@GOTPAGEOFF]
LBB0_9:
	ldr	w8, [x8]
	str	w8, [x20]
LBB0_10:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_11:
Lloh14:
	adrp	x8, _STATUS_FORMAT_PORCELAIN_V2@GOTPAGE
Lloh15:
	ldr	x8, [x8, _STATUS_FORMAT_PORCELAIN_V2@GOTPAGEOFF]
	b	LBB0_9
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_STATUS_FORMAT_NONE,4,2         ; @STATUS_FORMAT_NONE
	.comm	_STATUS_FORMAT_PORCELAIN,4,2    ; @STATUS_FORMAT_PORCELAIN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"v1"

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

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

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

	.comm	_STATUS_FORMAT_PORCELAIN_V2,4,2 ; @STATUS_FORMAT_PORCELAIN_V2
l_.str.4:                               ; @.str.4
	.asciz	"unsupported porcelain version '%s'"

	.no_dead_strip	_opt_parse_porcelain
.subsections_via_symbols
