	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function qede_flow_build_ipv4_hdr
_qede_flow_build_ipv4_hdr:              ## @qede_flow_build_ipv4_hdr
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_ETH_HLEN@GOTPCREL(%rip), %r15
	movslq	(%r15), %r12
	movl	20(%rdi), %eax
	movl	%eax, (%rsi)
	movl	16(%rdi), %eax
	movl	%eax, 20(%rsi,%r12)
	movl	12(%rdi), %eax
	movl	%eax, 16(%rsi,%r12)
	movabsq	$21474836484, %rax              ## imm = 0x500000004
	movq	%rax, (%rsi,%r12)
	movl	8(%rdi), %eax
	movl	%eax, 12(%rsi,%r12)
	callq	_qede_flow_get_min_header_size
	subl	(%r15), %eax
	movl	%eax, %edi
	callq	_cpu_to_be16
	movl	%eax, 8(%rbx,%r12)
	movl	4(%r14), %eax
	movl	%eax, 24(%rbx,%r12)
	movl	(%r14), %eax
	movl	%eax, 28(%rbx,%r12)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETH_HLEN,4,2                   ## @ETH_HLEN
	.no_dead_strip	_qede_flow_build_ipv4_hdr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function qede_flow_build_ipv4_hdr
lCPI0_0:
	.long	4                               ; 0x4
	.long	5                               ; 0x5
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_qede_flow_build_ipv4_hdr:              ; @qede_flow_build_ipv4_hdr
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
Lloh0:
	adrp	x20, _ETH_HLEN@GOTPAGE
Lloh1:
	ldr	x20, [x20, _ETH_HLEN@GOTPAGEOFF]
	ldrsw	x8, [x20]
	add	x21, x1, x8
	ldr	w8, [x0, #20]
	str	w8, [x1]
	ldur	d0, [x0, #12]
	str	d0, [x21, #16]
Lloh2:
	adrp	x8, lCPI0_0@PAGE
Lloh3:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x21]
	ldr	w8, [x0, #8]
	str	w8, [x21, #12]
	bl	_qede_flow_get_min_header_size
	ldr	w8, [x20]
	sub	w0, w0, w8
	bl	_cpu_to_be16
	str	w0, [x21, #8]
	ldr	w8, [x19, #4]
	str	w8, [x21, #24]
	ldr	w8, [x19]
	str	w8, [x21, #28]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ETH_HLEN,4,2                   ; @ETH_HLEN
	.no_dead_strip	_qede_flow_build_ipv4_hdr
.subsections_via_symbols
