	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function build_mapping
_build_mapping:                         ## @build_mapping
	.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
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_XFRM_MSG_MAPPING@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%r15d, %r15d
	xorl	%esi, %esi
	xorl	%edx, %edx
	movl	$36, %r8d
	xorl	%r9d, %r9d
	callq	_nlmsg_put
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_nlmsg_data
	movq	%rax, %r15
	leaq	32(%rax), %rdi
	leaq	32(%rbx), %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	28(%rbx), %eax
	movl	%eax, 28(%r15)
	movl	8(%rbx), %eax
	movl	%eax, 24(%r15)
	movl	24(%rbx), %eax
	movl	%eax, 20(%r15)
	leaq	16(%r15), %rdi
	movq	%r13, %rsi
	movl	$4, %edx
	callq	_memcpy
	leaq	12(%r15), %rdi
	leaq	4(%rbx), %rsi
	movl	$4, %edx
	callq	_memcpy
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 8(%r15)
	movq	16(%rbx), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%r15)
	movl	(%rbx), %eax
	movl	%eax, (%r15)
	movq	%r14, %rdi
	movq	%r12, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nlmsg_end                      ## TAILCALL
LBB0_1:
	movq	_EMSGSIZE@GOTPCREL(%rip), %rax
	subl	(%rax), %r15d
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XFRM_MSG_MAPPING,4,2           ## @XFRM_MSG_MAPPING
	.comm	_EMSGSIZE,4,2                   ## @EMSGSIZE
	.no_dead_strip	_build_mapping
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function build_mapping
_build_mapping:                         ; @build_mapping
	.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	x23, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _XFRM_MSG_MAPPING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XFRM_MSG_MAPPING@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	w1, #0
	mov	w2, #0
	mov	w4, #36
	mov	w5, #0
	bl	_nlmsg_put
	cbz	x0, LBB0_2
; %bb.1:
	mov	x22, x0
	bl	_nlmsg_data
	mov	x24, x0
	add	x0, x0, #32
	add	x1, x20, #32
	mov	w2, #4
	bl	_memcpy
	ldp	w9, w8, [x20, #24]
	str	w8, [x24, #28]
	ldr	w8, [x20, #8]
	stp	w9, w8, [x24, #20]
	add	x0, x24, #16
	mov	x1, x23
	mov	w2, #4
	bl	_memcpy
	add	x0, x24, #12
	add	x1, x20, #4
	mov	w2, #4
	bl	_memcpy
	str	w21, [x24, #8]
	ldr	x8, [x20, #16]
	ldr	w8, [x8]
	ldr	w9, [x20]
	stp	w9, w8, [x24]
	mov	x0, x19
	mov	x1, x22
	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	_nlmsg_end
LBB0_2:
Lloh3:
	adrp	x8, _EMSGSIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EMSGSIZE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_XFRM_MSG_MAPPING,4,2           ; @XFRM_MSG_MAPPING
	.comm	_EMSGSIZE,4,2                   ; @EMSGSIZE
	.no_dead_strip	_build_mapping
.subsections_via_symbols
