	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xfrm_state_lock_afinfo
_xfrm_state_lock_afinfo:                ## @xfrm_state_lock_afinfo
	.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
	movl	%edi, %ebx
	movq	_NPROTO@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	cmpl	%ebx, (%rax)
	setbe	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	xorl	%ebx, %ebx
	jmp	LBB0_4
LBB0_2:
	movq	_xfrm_state_afinfo_lock@GOTPCREL(%rip), %rdi
	callq	_write_lock_bh
	movq	_xfrm_state_afinfo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ebx, %ecx
	movq	(%rax,%rcx,8), %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	sete	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_xfrm_state_afinfo_lock@GOTPCREL(%rip), %rdi
	callq	_write_unlock_bh
LBB0_4:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NPROTO,4,2                     ## @NPROTO
	.comm	_xfrm_state_afinfo_lock,4,2     ## @xfrm_state_afinfo_lock
	.comm	_xfrm_state_afinfo,8,3          ## @xfrm_state_afinfo
	.no_dead_strip	_xfrm_state_lock_afinfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xfrm_state_lock_afinfo
_xfrm_state_lock_afinfo:                ; @xfrm_state_lock_afinfo
	.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, x0
Lloh0:
	adrp	x8, _NPROTO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NPROTO@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w0
	cset	w0, ls
	bl	_unlikely
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, #0
	b	LBB0_4
LBB0_2:
Lloh3:
	adrp	x0, _xfrm_state_afinfo_lock@GOTPAGE
Lloh4:
	ldr	x0, [x0, _xfrm_state_afinfo_lock@GOTPAGEOFF]
	bl	_write_lock_bh
Lloh5:
	adrp	x8, _xfrm_state_afinfo@GOTPAGE
Lloh6:
	ldr	x8, [x8, _xfrm_state_afinfo@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x19, [x8, w19, uxtw #3]
	cmp	x19, #0
	cset	w0, eq
	bl	_unlikely
	cbz	x0, LBB0_4
; %bb.3:
Lloh8:
	adrp	x0, _xfrm_state_afinfo_lock@GOTPAGE
Lloh9:
	ldr	x0, [x0, _xfrm_state_afinfo_lock@GOTPAGEOFF]
	bl	_write_unlock_bh
LBB0_4:
	mov	x0, x19
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_NPROTO,4,2                     ; @NPROTO
	.comm	_xfrm_state_afinfo_lock,4,2     ; @xfrm_state_afinfo_lock
	.comm	_xfrm_state_afinfo,8,3          ; @xfrm_state_afinfo
	.no_dead_strip	_xfrm_state_lock_afinfo
.subsections_via_symbols
