	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_submodule_update_strategy ## -- Begin function parse_submodule_update_strategy
	.p2align	4, 0x90
_parse_submodule_update_strategy:       ## @parse_submodule_update_strategy
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	8(%rsi), %rdi
	callq	_free
	movq	$0, 8(%rbx)
	movq	%r14, %rdi
	callq	_parse_submodule_update_type
	movq	_SM_UPDATE_UNSPECIFIED@GOTPCREL(%rip), %rcx
	movl	$-1, %r15d
	cmpl	(%rcx), %eax
	je	LBB0_3
## %bb.1:
	movl	%eax, (%rbx)
	movq	_SM_UPDATE_COMMAND@GOTPCREL(%rip), %rcx
	xorl	%r15d, %r15d
	cmpl	(%rcx), %eax
	jne	LBB0_3
## %bb.2:
	incq	%r14
	movq	%r14, %rdi
	callq	_xstrdup
	movq	%rax, 8(%rbx)
LBB0_3:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SM_UPDATE_UNSPECIFIED,4,2      ## @SM_UPDATE_UNSPECIFIED
	.comm	_SM_UPDATE_COMMAND,4,2          ## @SM_UPDATE_COMMAND
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_parse_submodule_update_strategy ; -- Begin function parse_submodule_update_strategy
	.p2align	2
_parse_submodule_update_strategy:       ; @parse_submodule_update_strategy
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	x0, [x1, #8]
	bl	_free
	str	xzr, [x19, #8]
	mov	x0, x20
	bl	_parse_submodule_update_type
Lloh0:
	adrp	x8, _SM_UPDATE_UNSPECIFIED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SM_UPDATE_UNSPECIFIED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #-1
	b	LBB0_5
LBB0_2:
	str	w0, [x19]
Lloh3:
	adrp	x8, _SM_UPDATE_COMMAND@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SM_UPDATE_COMMAND@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_4
; %bb.3:
	add	x0, x20, #1
	bl	_xstrdup
	mov	x8, x0
	mov	w0, #0
	str	x8, [x19, #8]
	b	LBB0_5
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_SM_UPDATE_UNSPECIFIED,4,2      ; @SM_UPDATE_UNSPECIFIED
	.comm	_SM_UPDATE_COMMAND,4,2          ; @SM_UPDATE_COMMAND
.subsections_via_symbols
