	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_spdinfo
_build_spdinfo:                         ## @build_spdinfo
	.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	%r12
	pushq	%rbx
	subq	$96, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r15d
	movq	%rdi, %r12
	movq	_XFRM_MSG_NEWSPDINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%ebx, %ebx
	movl	$4, %r8d
	xorl	%r9d, %r9d
	callq	_nlmsg_put
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_nlmsg_data
	movl	%r15d, (%rax)
	leaq	-64(%rbp), %rdi
	callq	_xfrm_spd_getinfo
	movq	-40(%rbp), %rax
	movq	%rax, -72(%rbp)
	movups	-56(%rbp), %xmm0
	movups	%xmm0, -88(%rbp)
	movq	-64(%rbp), %rax
	movq	%rax, -128(%rbp)
	movq	_XFRMA_SPD_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-96(%rbp), %rcx
	movq	%r12, %rdi
	movl	$32, %edx
	callq	_NLA_PUT
	movq	_XFRMA_SPD_HINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-128(%rbp), %rcx
	movq	%r12, %rdi
	movl	$32, %edx
	callq	_NLA_PUT
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_nlmsg_end
	movl	%eax, %ebx
	jmp	LBB0_3
LBB0_1:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
LBB0_3:
	movl	%ebx, %eax
	addq	$96, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XFRM_MSG_NEWSPDINFO,4,2        ## @XFRM_MSG_NEWSPDINFO
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.comm	_XFRMA_SPD_INFO,4,2             ## @XFRMA_SPD_INFO
	.comm	_XFRMA_SPD_HINFO,4,2            ## @XFRMA_SPD_HINFO
	.no_dead_strip	_build_spdinfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_spdinfo
_build_spdinfo:                         ; @build_spdinfo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	mov	x21, x3
	mov	x19, x0
Lloh0:
	adrp	x8, _XFRM_MSG_NEWSPDINFO@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XFRM_MSG_NEWSPDINFO@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	w4, #4
	mov	w5, #0
	bl	_nlmsg_put
	cbz	x0, LBB0_2
; %bb.1:
	mov	x20, x0
	bl	_nlmsg_data
	str	w21, [x0]
	add	x0, sp, #64
	bl	_xfrm_spd_getinfo
	ldr	d0, [sp, #88]
	str	d0, [sp, #56]
	ldur	q0, [sp, #72]
	stur	q0, [sp, #40]
	ldr	d0, [sp, #64]
	str	d0, [sp]
Lloh3:
	adrp	x8, _XFRMA_SPD_INFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _XFRMA_SPD_INFO@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x3, sp, #32
	mov	x0, x19
	mov	w2, #32
	bl	_NLA_PUT
Lloh6:
	adrp	x8, _XFRMA_SPD_HINFO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _XFRMA_SPD_HINFO@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x3, sp
	mov	x0, x19
	mov	w2, #32
	bl	_NLA_PUT
	mov	x0, x19
	mov	x1, x20
	bl	_nlmsg_end
	b	LBB0_3
LBB0_2:
Lloh9:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_3:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_XFRM_MSG_NEWSPDINFO,4,2        ; @XFRM_MSG_NEWSPDINFO
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.comm	_XFRMA_SPD_INFO,4,2             ; @XFRMA_SPD_INFO
	.comm	_XFRMA_SPD_HINFO,4,2            ; @XFRMA_SPD_HINFO
	.no_dead_strip	_build_spdinfo
.subsections_via_symbols
