	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IPsecNormalizeServiceSetting   ## -- Begin function IPsecNormalizeServiceSetting
	.p2align	4, 0x90
_IPsecNormalizeServiceSetting:          ## @IPsecNormalizeServiceSetting
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_11
## %bb.1:
	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, %rbx
	movq	16(%rdi), %r14
	movl	(%rdi), %edi
	callq	_Lock
	movl	8(%rbx), %edi
	callq	_IsEmptyStr
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movl	8(%rbx), %edi
	movq	_IPSEC_DEFAULT_SECRET@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movl	$4, %esi
	callq	_StrCpy
LBB0_3:
	movl	(%r14), %edi
	callq	_LockList
	movl	4(%rbx), %edi
	callq	_IsEmptyStr
	testq	%rax, %rax
	je	LBB0_4
LBB0_5:
	movl	(%r14), %edi
	callq	_LIST_NUM
	testl	%eax, %eax
	jle	LBB0_8
## %bb.6:
	movl	(%r14), %edi
	xorl	%esi, %esi
	callq	_LIST_DATA
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	4(%rbx), %edi
	movq	(%rax), %rdx
	jmp	LBB0_9
LBB0_11:
	retq
LBB0_8:
	movl	4(%rbx), %edi
	leaq	L_.str(%rip), %rdx
LBB0_9:
	movl	$4, %esi
	callq	_StrCpy
	jmp	LBB0_10
LBB0_4:
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	callq	_IsHub
	testl	%eax, %eax
	je	LBB0_5
LBB0_10:
	movl	(%r14), %edi
	callq	_UnlockList
	movl	(%rbx), %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_Unlock                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IPSEC_DEFAULT_SECRET,8,3       ## @IPSEC_DEFAULT_SECRET
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IPsecNormalizeServiceSetting   ; -- Begin function IPsecNormalizeServiceSetting
	.p2align	2
_IPsecNormalizeServiceSetting:          ; @IPsecNormalizeServiceSetting
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_7
; %bb.1:
	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
	.cfi_remember_state
	mov	x19, x0
	ldr	x20, [x0, #16]
	ldr	w0, [x0]
	bl	_Lock
	ldr	w0, [x19, #8]
	bl	_IsEmptyStr
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x19, #8]
Lloh0:
	adrp	x8, _IPSEC_DEFAULT_SECRET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IPSEC_DEFAULT_SECRET@GOTPAGEOFF]
Lloh2:
	ldr	x2, [x8]
	mov	w1, #4
	bl	_StrCpy
LBB0_3:
	ldr	w0, [x20]
	bl	_LockList
	ldr	w0, [x19, #4]
	bl	_IsEmptyStr
	cbz	x0, LBB0_10
LBB0_4:
	ldr	w0, [x20]
	bl	_LIST_NUM
	cmp	w0, #1
	b.lt	LBB0_8
; %bb.5:
	ldr	w0, [x20]
	mov	w1, #0
	bl	_LIST_DATA
	cbz	x0, LBB0_8
; %bb.6:
	ldr	w8, [x19, #4]
	ldr	x2, [x0]
	mov	x0, x8
	b	LBB0_9
LBB0_7:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
LBB0_8:
	.cfi_restore_state
	ldr	w0, [x19, #4]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
LBB0_9:
	mov	w1, #4
	bl	_StrCpy
	b	LBB0_11
LBB0_10:
	ldr	w1, [x19, #4]
	mov	x0, x20
	bl	_IsHub
	cbz	w0, LBB0_4
LBB0_11:
	ldr	w0, [x20]
	bl	_UnlockList
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_Unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_IPSEC_DEFAULT_SECRET,8,3       ; @IPSEC_DEFAULT_SECRET
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

.subsections_via_symbols
