	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_ip4
_set_ip4:                               ## @set_ip4
	.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	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %rbx
	movq	%rsi, %r14
	movq	%rdi, %r15
	movq	%rdx, -64(%rbp)
	movq	%rcx, -56(%rbp)
	movq	%r8, -48(%rbp)
	movq	%r9, -40(%rbp)
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	_src_ipv4_src_ipv6@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_MLX5E_FTE_ADDR_OF
	leaq	-56(%rbp), %rsi
	movl	%eax, %edi
	movl	$8, %edx
	callq	_memcpy
	movl	(%r12), %esi
	movq	%r15, %rdi
	callq	_MLX5E_FTE_ADDR_OF
	leaq	-64(%rbp), %rsi
	movl	%eax, %edi
	movl	$8, %edx
	callq	_memcpy
LBB0_2:
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	movq	_dst_ipv4_dst_ipv6@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r14, %rdi
	callq	_MLX5E_FTE_ADDR_OF
	leaq	-40(%rbp), %rsi
	movl	%eax, %edi
	movl	$8, %edx
	callq	_memcpy
	movl	(%rbx), %esi
	movq	%r15, %rdi
	callq	_MLX5E_FTE_ADDR_OF
	leaq	-48(%rbp), %rsi
	movl	%eax, %edi
	movl	$8, %edx
	callq	_memcpy
LBB0_4:
	movq	_ethertype@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	movq	%r15, %rdi
	movl	$65535, %edx                    ## imm = 0xFFFF
	callq	_MLX5E_FTE_SET
	movl	(%rbx), %esi
	movq	_ETH_P_IP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_MLX5E_FTE_SET
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_src_ipv4_src_ipv6,4,2          ## @src_ipv4_src_ipv6
	.comm	_dst_ipv4_dst_ipv6,4,2          ## @dst_ipv4_dst_ipv6
	.comm	_ethertype,4,2                  ## @ethertype
	.comm	_ETH_P_IP,4,2                   ## @ETH_P_IP
	.no_dead_strip	_set_ip4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_ip4
_set_ip4:                               ; @set_ip4
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x4
	mov	x19, x1
	mov	x20, x0
	stp	x3, x2, [sp, #16]
	stp	x5, x4, [sp]
	cbz	x2, LBB0_2
; %bb.1:
Lloh0:
	adrp	x22, _src_ipv4_src_ipv6@GOTPAGE
Lloh1:
	ldr	x22, [x22, _src_ipv4_src_ipv6@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	x0, x19
	bl	_MLX5E_FTE_ADDR_OF
	add	x1, sp, #16
	mov	w2, #8
	bl	_memcpy
	ldr	w1, [x22]
	mov	x0, x20
	bl	_MLX5E_FTE_ADDR_OF
	add	x1, sp, #24
	mov	w2, #8
	bl	_memcpy
LBB0_2:
	cbz	x21, LBB0_4
; %bb.3:
Lloh2:
	adrp	x21, _dst_ipv4_dst_ipv6@GOTPAGE
Lloh3:
	ldr	x21, [x21, _dst_ipv4_dst_ipv6@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x19
	bl	_MLX5E_FTE_ADDR_OF
	mov	x1, sp
	mov	w2, #8
	bl	_memcpy
	ldr	w1, [x21]
	mov	x0, x20
	bl	_MLX5E_FTE_ADDR_OF
	add	x1, sp, #8
	mov	w2, #8
	bl	_memcpy
LBB0_4:
Lloh4:
	adrp	x21, _ethertype@GOTPAGE
Lloh5:
	ldr	x21, [x21, _ethertype@GOTPAGEOFF]
	ldr	w1, [x21]
	mov	x0, x20
	mov	w2, #65535
	bl	_MLX5E_FTE_SET
	ldr	w1, [x21]
Lloh6:
	adrp	x8, _ETH_P_IP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ETH_P_IP@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_MLX5E_FTE_SET
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_src_ipv4_src_ipv6,4,2          ; @src_ipv4_src_ipv6
	.comm	_dst_ipv4_dst_ipv6,4,2          ; @dst_ipv4_dst_ipv6
	.comm	_ethertype,4,2                  ; @ethertype
	.comm	_ETH_P_IP,4,2                   ; @ETH_P_IP
	.no_dead_strip	_set_ip4
.subsections_via_symbols
