	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function parse_opt_reencode_mode
_parse_opt_reencode_mode:               ## @parse_opt_reencode_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	testl	%edx, %edx
	je	LBB0_3
LBB0_1:
	movq	_REENCODE_ABORT@GOTPCREL(%rip), %rax
LBB0_2:
	movl	(%rax), %eax
	movq	_reencode_mode@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_3:
	movq	%rsi, %rbx
	movq	%rsi, %rdi
	callq	_git_parse_maybe_bool
	cmpl	$1, %eax
	je	LBB0_6
## %bb.4:
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	movq	_REENCODE_NO@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_6:
	movq	_REENCODE_YES@GOTPCREL(%rip), %rax
	jmp	LBB0_2
LBB0_7:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_strcasecmp
	testl	%eax, %eax
	je	LBB0_1
## %bb.8:
	leaq	L_.str.1(%rip), %rdi
	movq	%rbx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_error                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_REENCODE_ABORT,4,2             ## @REENCODE_ABORT
	.comm	_reencode_mode,4,2              ## @reencode_mode
	.comm	_REENCODE_NO,4,2                ## @REENCODE_NO
	.comm	_REENCODE_YES,4,2               ## @REENCODE_YES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"abort"

L_.str.1:                               ## @.str.1
	.asciz	"Unknown reencoding mode: %s"

	.no_dead_strip	_parse_opt_reencode_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function parse_opt_reencode_mode
_parse_opt_reencode_mode:               ; @parse_opt_reencode_mode
	.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
	cbz	w2, LBB0_3
LBB0_1:
Lloh0:
	adrp	x8, _REENCODE_ABORT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REENCODE_ABORT@GOTPAGEOFF]
LBB0_2:
	ldr	w8, [x8]
Lloh2:
	adrp	x9, _reencode_mode@GOTPAGE
Lloh3:
	ldr	x9, [x9, _reencode_mode@GOTPAGEOFF]
Lloh4:
	str	w8, [x9]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_3:
	mov	x19, x1
	mov	x0, x1
	bl	_git_parse_maybe_bool
	cmp	w0, #1
	b.eq	LBB0_6
; %bb.4:
	cbnz	w0, LBB0_7
; %bb.5:
Lloh5:
	adrp	x8, _REENCODE_NO@GOTPAGE
Lloh6:
	ldr	x8, [x8, _REENCODE_NO@GOTPAGEOFF]
	b	LBB0_2
LBB0_6:
Lloh7:
	adrp	x8, _REENCODE_YES@GOTPAGE
Lloh8:
	ldr	x8, [x8, _REENCODE_YES@GOTPAGEOFF]
	b	LBB0_2
LBB0_7:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_strcasecmp
	cbz	w0, LBB0_1
; %bb.8:
Lloh11:
	adrp	x0, l_.str.1@PAGE
Lloh12:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_error
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_REENCODE_ABORT,4,2             ; @REENCODE_ABORT
	.comm	_reencode_mode,4,2              ; @reencode_mode
	.comm	_REENCODE_NO,4,2                ; @REENCODE_NO
	.comm	_REENCODE_YES,4,2               ; @REENCODE_YES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"abort"

l_.str.1:                               ; @.str.1
	.asciz	"Unknown reencoding mode: %s"

	.no_dead_strip	_parse_opt_reencode_mode
.subsections_via_symbols
