	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function pfkey_get
_pfkey_get:                             ## @pfkey_get
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r14
	movq	%rdi, %r12
	callq	_sock_net
	movq	%rax, %r15
	movq	_SADB_EXT_SA@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	cmpq	$0, -8(%rbx,%rax,8)
	je	LBB0_2
## %bb.1:
	movq	_SADB_EXT_ADDRESS_SRC@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	-8(%rbx,%rax,8), %rdi
	movq	_SADB_EXT_ADDRESS_DST@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	-8(%rbx,%rax,8), %rsi
	callq	_present_and_same_family
	testl	%eax, %eax
	je	LBB0_2
## %bb.4:
	movq	%r15, %rdi
	movq	%r14, %rsi
	movq	%rbx, %rdx
	callq	_pfkey_xfrm_state_lookup
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_pfkey_xfrm_state2msg
	movq	%rax, %r15
	movl	(%rbx), %r13d
	movq	%rbx, %rdi
	callq	_xfrm_state_put
	movq	%r15, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	je	LBB0_7
## %bb.9:
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_PTR_ERR                        ## TAILCALL
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
LBB0_3:
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_ESRCH@GOTPCREL(%rip), %rcx
	jmp	LBB0_3
LBB0_7:
	movq	(%r15), %rbx
	movl	32(%r14), %eax
	movl	%eax, 32(%rbx)
	movq	_SADB_GET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 28(%rbx)
	movl	%r13d, %edi
	callq	_pfkey_proto2satype
	movl	%eax, 24(%rbx)
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movl	4(%r14), %eax
	movl	%eax, 4(%rbx)
	movl	(%r14), %eax
	movl	%eax, (%rbx)
	movq	_GFP_ATOMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_BROADCAST_ONE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r12, %rdi
	callq	_sock_net
	movq	%r15, %rdi
	movl	%r14d, %esi
	movl	%ebx, %edx
	movq	%r12, %rcx
	movq	%rax, %r8
	callq	_pfkey_broadcast
	xorl	%eax, %eax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_SADB_EXT_SA,4,2                ## @SADB_EXT_SA
	.comm	_SADB_EXT_ADDRESS_SRC,4,2       ## @SADB_EXT_ADDRESS_SRC
	.comm	_SADB_EXT_ADDRESS_DST,4,2       ## @SADB_EXT_ADDRESS_DST
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ESRCH,4,2                      ## @ESRCH
	.comm	_SADB_GET,4,2                   ## @SADB_GET
	.comm	_GFP_ATOMIC,4,2                 ## @GFP_ATOMIC
	.comm	_BROADCAST_ONE,4,2              ## @BROADCAST_ONE
	.no_dead_strip	_pfkey_get
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function pfkey_get
_pfkey_get:                             ; @pfkey_get
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x3
	mov	x20, x2
	mov	x19, x0
	bl	_sock_net
Lloh0:
	adrp	x8, _SADB_EXT_SA@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SADB_EXT_SA@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	add	x8, x21, x8, lsl #3
	ldur	x8, [x8, #-8]
	cbz	x8, LBB0_5
; %bb.1:
	mov	x22, x0
Lloh3:
	adrp	x8, _SADB_EXT_ADDRESS_SRC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SADB_EXT_ADDRESS_SRC@GOTPAGEOFF]
Lloh5:
	ldrsw	x8, [x8]
	add	x8, x21, x8, lsl #3
	ldur	x0, [x8, #-8]
Lloh6:
	adrp	x8, _SADB_EXT_ADDRESS_DST@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SADB_EXT_ADDRESS_DST@GOTPAGEOFF]
Lloh8:
	ldrsw	x8, [x8]
	add	x8, x21, x8, lsl #3
	ldur	x1, [x8, #-8]
	bl	_present_and_same_family
	cbz	w0, LBB0_5
; %bb.2:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	bl	_pfkey_xfrm_state_lookup
	cbz	x0, LBB0_8
; %bb.3:
	mov	x23, x0
	bl	_pfkey_xfrm_state2msg
	mov	x21, x0
	ldr	w22, [x23]
	mov	x0, x23
	bl	_xfrm_state_put
	mov	x0, x21
	bl	_IS_ERR
	cbz	x0, LBB0_9
; %bb.4:
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_PTR_ERR
LBB0_5:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh11:
	adrp	x8, _ESRCH@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ESRCH@GOTPAGEOFF]
	b	LBB0_6
LBB0_9:
	ldr	x23, [x21]
	ldr	w8, [x20, #32]
Lloh13:
	adrp	x9, _SADB_GET@GOTPAGE
Lloh14:
	ldr	x9, [x9, _SADB_GET@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	stp	w9, w8, [x23, #28]
	mov	x0, x22
	bl	_pfkey_proto2satype
	str	w0, [x23, #24]
	stp	xzr, xzr, [x23, #8]
	ldr	d0, [x20]
	str	d0, [x23]
Lloh16:
	adrp	x8, _GFP_ATOMIC@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GFP_ATOMIC@GOTPAGEOFF]
Lloh18:
	ldr	w20, [x8]
Lloh19:
	adrp	x8, _BROADCAST_ONE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _BROADCAST_ONE@GOTPAGEOFF]
Lloh21:
	ldr	w22, [x8]
	mov	x0, x19
	bl	_sock_net
	mov	x4, x0
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	mov	x3, x19
	bl	_pfkey_broadcast
	mov	w0, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_SADB_EXT_SA,4,2                ; @SADB_EXT_SA
	.comm	_SADB_EXT_ADDRESS_SRC,4,2       ; @SADB_EXT_ADDRESS_SRC
	.comm	_SADB_EXT_ADDRESS_DST,4,2       ; @SADB_EXT_ADDRESS_DST
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ESRCH,4,2                      ; @ESRCH
	.comm	_SADB_GET,4,2                   ; @SADB_GET
	.comm	_GFP_ATOMIC,4,2                 ; @GFP_ATOMIC
	.comm	_BROADCAST_ONE,4,2              ; @BROADCAST_ONE
	.no_dead_strip	_pfkey_get
.subsections_via_symbols
