	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function am_state_init
_am_state_init:                         ## @am_state_init
	.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
	movq	%rdi, %rbx
	xorl	%esi, %esi
	movl	$40, %edx
	callq	_memset
	leaq	L_.str(%rip), %rdi
	callq	_git_pathdup
	movl	%eax, 32(%rbx)
	movl	$4, (%rbx)
	leaq	4(%rbx), %rsi
	leaq	L_.str.1(%rip), %rdi
	callq	_git_config_get_bool
	movl	$1, 8(%rbx)
	leaq	12(%rbx), %rsi
	leaq	L_.str.2(%rip), %rdi
	callq	_git_config_get_bool
	movq	_SCISSORS_UNSET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	leaq	24(%rbx), %rdi
	callq	_argv_array_init
	leaq	L_.str.3(%rip), %rdi
	leaq	-12(%rbp), %rsi
	callq	_git_config_get_bool
	testl	%eax, %eax
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	cmpl	$0, -12(%rbp)
	leaq	L_.str.4(%rip), %rcx
	cmovneq	%rcx, %rax
	movq	%rax, 16(%rbx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rebase-apply"

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

L_.str.2:                               ## @.str.2
	.asciz	"am.messageid"

	.comm	_SCISSORS_UNSET,4,2             ## @SCISSORS_UNSET
L_.str.3:                               ## @.str.3
	.asciz	"commit.gpgsign"

L_.str.4:                               ## @.str.4
	.space	1

	.no_dead_strip	_am_state_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function am_state_init
_am_state_init:                         ; @am_state_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	mov	w1, #0
	mov	w2, #40
	bl	_memset
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_git_pathdup
	str	w0, [x19, #32]
	mov	w8, #4
	str	w8, [x19]
	add	x1, x19, #4
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_git_config_get_bool
	mov	w8, #1
	str	w8, [x19, #8]
	add	x1, x19, #12
Lloh4:
	adrp	x0, l_.str.2@PAGE
Lloh5:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_git_config_get_bool
Lloh6:
	adrp	x8, _SCISSORS_UNSET@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SCISSORS_UNSET@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	str	w8, [x19, #28]
	add	x0, x19, #24
	bl	_argv_array_init
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	add	x1, sp, #12
	bl	_git_config_get_bool
	cbnz	w0, LBB0_2
; %bb.1:
	ldr	w8, [sp, #12]
Lloh11:
	adrp	x9, l_.str.4@PAGE
Lloh12:
	add	x9, x9, l_.str.4@PAGEOFF
	cmp	w8, #0
	csel	x8, xzr, x9, eq
	str	x8, [x19, #16]
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rebase-apply"

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

l_.str.2:                               ; @.str.2
	.asciz	"am.messageid"

	.comm	_SCISSORS_UNSET,4,2             ; @SCISSORS_UNSET
l_.str.3:                               ; @.str.3
	.asciz	"commit.gpgsign"

l_.str.4:                               ; @.str.4
	.space	1

	.no_dead_strip	_am_state_init
.subsections_via_symbols
