	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ib_ud_header_pack              ## -- Begin function ib_ud_header_pack
	.p2align	4, 0x90
_ib_ud_header_pack:                     ## @ib_ud_header_pack
	.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, %r14
	movq	%rdi, %r15
	cmpq	$0, 112(%rdi)
	je	LBB0_1
## %bb.2:
	movq	_lrh_table@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_ARRAY_SIZE
	leaq	104(%r15), %rdx
	movl	%ebx, %edi
	movl	%eax, %esi
	movq	%r14, %rcx
	callq	_ib_pack
	movq	_IB_LRH_BYTES@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	cmpq	$0, 96(%r15)
	je	LBB0_5
LBB0_4:
	movq	_eth_table@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r12d, %edi
	callq	_ARRAY_SIZE
	leaq	88(%r15), %rdx
	movslq	%ebx, %rbx
	leaq	(%r14,%rbx), %rcx
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ib_pack
	movq	_IB_ETH_BYTES@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
LBB0_5:
	cmpq	$0, 80(%r15)
	je	LBB0_7
## %bb.6:
	movq	_vlan_table@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r12d, %edi
	callq	_ARRAY_SIZE
	leaq	72(%r15), %rdx
	movslq	%ebx, %rbx
	leaq	(%r14,%rbx), %rcx
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ib_pack
	movq	_IB_VLAN_BYTES@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
LBB0_7:
	cmpq	$0, 64(%r15)
	je	LBB0_9
## %bb.8:
	movq	_grh_table@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r12d, %edi
	callq	_ARRAY_SIZE
	leaq	56(%r15), %rdx
	movslq	%ebx, %rbx
	leaq	(%r14,%rbx), %rcx
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ib_pack
	movq	_IB_GRH_BYTES@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
LBB0_9:
	cmpq	$0, 48(%r15)
	je	LBB0_11
## %bb.10:
	movq	_ip4_table@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r12d, %edi
	callq	_ARRAY_SIZE
	leaq	40(%r15), %rdx
	movslq	%ebx, %rbx
	leaq	(%r14,%rbx), %rcx
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ib_pack
	movq	_IB_IP4_BYTES@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
LBB0_11:
	cmpq	$0, 32(%r15)
	je	LBB0_13
## %bb.12:
	movq	_udp_table@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r12d, %edi
	callq	_ARRAY_SIZE
	leaq	24(%r15), %rdx
	movslq	%ebx, %rbx
	leaq	(%r14,%rbx), %rcx
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ib_pack
	movq	_IB_UDP_BYTES@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
LBB0_13:
	movq	_bth_table@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r12d, %edi
	callq	_ARRAY_SIZE
	leaq	20(%r15), %rdx
	movslq	%ebx, %rbx
	leaq	(%r14,%rbx), %rcx
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ib_pack
	movq	_IB_BTH_BYTES@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	movq	_deth_table@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movl	%r12d, %edi
	callq	_ARRAY_SIZE
	leaq	16(%r15), %rdx
	movslq	%ebx, %rbx
	leaq	(%r14,%rbx), %rcx
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_ib_pack
	movq	_IB_DETH_BYTES@GOTPCREL(%rip), %rax
	addl	(%rax), %ebx
	cmpq	$0, 8(%r15)
	je	LBB0_15
## %bb.14:
	movslq	%ebx, %rbx
	addq	%rbx, %r14
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	callq	_memcpy
	addl	$4, %ebx
LBB0_15:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	xorl	%ebx, %ebx
	cmpq	$0, 96(%r15)
	jne	LBB0_4
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_lrh_table,4,2                  ## @lrh_table
	.comm	_IB_LRH_BYTES,8,3               ## @IB_LRH_BYTES
	.comm	_eth_table,4,2                  ## @eth_table
	.comm	_IB_ETH_BYTES,8,3               ## @IB_ETH_BYTES
	.comm	_vlan_table,4,2                 ## @vlan_table
	.comm	_IB_VLAN_BYTES,8,3              ## @IB_VLAN_BYTES
	.comm	_grh_table,4,2                  ## @grh_table
	.comm	_IB_GRH_BYTES,8,3               ## @IB_GRH_BYTES
	.comm	_ip4_table,4,2                  ## @ip4_table
	.comm	_IB_IP4_BYTES,8,3               ## @IB_IP4_BYTES
	.comm	_udp_table,4,2                  ## @udp_table
	.comm	_IB_UDP_BYTES,8,3               ## @IB_UDP_BYTES
	.comm	_bth_table,4,2                  ## @bth_table
	.comm	_IB_BTH_BYTES,8,3               ## @IB_BTH_BYTES
	.comm	_deth_table,4,2                 ## @deth_table
	.comm	_IB_DETH_BYTES,8,3              ## @IB_DETH_BYTES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ib_ud_header_pack              ; -- Begin function ib_ud_header_pack
	.p2align	2
_ib_ud_header_pack:                     ; @ib_ud_header_pack
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #112]
	cbz	x8, LBB0_14
; %bb.1:
Lloh0:
	adrp	x8, _lrh_table@GOTPAGE
Lloh1:
	ldr	x8, [x8, _lrh_table@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x1, x0
	add	x2, x19, #104
	mov	x0, x21
	mov	x3, x20
	bl	_ib_pack
Lloh3:
	adrp	x8, _IB_LRH_BYTES@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IB_LRH_BYTES@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	ldr	x8, [x19, #96]
	cbz	x8, LBB0_3
LBB0_2:
Lloh6:
	adrp	x8, _eth_table@GOTPAGE
Lloh7:
	ldr	x8, [x8, _eth_table@GOTPAGEOFF]
Lloh8:
	ldr	w21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x1, x0
	add	x2, x19, #88
	add	x3, x20, w22, sxtw
	mov	x0, x21
	bl	_ib_pack
Lloh9:
	adrp	x8, _IB_ETH_BYTES@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IB_ETH_BYTES@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	add	w22, w22, w8
LBB0_3:
	ldr	x8, [x19, #80]
	cbz	x8, LBB0_5
; %bb.4:
Lloh12:
	adrp	x8, _vlan_table@GOTPAGE
Lloh13:
	ldr	x8, [x8, _vlan_table@GOTPAGEOFF]
Lloh14:
	ldr	w21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x1, x0
	add	x2, x19, #72
	add	x3, x20, w22, sxtw
	mov	x0, x21
	bl	_ib_pack
Lloh15:
	adrp	x8, _IB_VLAN_BYTES@GOTPAGE
Lloh16:
	ldr	x8, [x8, _IB_VLAN_BYTES@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	add	w22, w22, w8
LBB0_5:
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_7
; %bb.6:
Lloh18:
	adrp	x8, _grh_table@GOTPAGE
Lloh19:
	ldr	x8, [x8, _grh_table@GOTPAGEOFF]
Lloh20:
	ldr	w21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x1, x0
	add	x2, x19, #56
	add	x3, x20, w22, sxtw
	mov	x0, x21
	bl	_ib_pack
Lloh21:
	adrp	x8, _IB_GRH_BYTES@GOTPAGE
Lloh22:
	ldr	x8, [x8, _IB_GRH_BYTES@GOTPAGEOFF]
Lloh23:
	ldr	w8, [x8]
	add	w22, w22, w8
LBB0_7:
	ldr	x8, [x19, #48]
	cbz	x8, LBB0_9
; %bb.8:
Lloh24:
	adrp	x8, _ip4_table@GOTPAGE
Lloh25:
	ldr	x8, [x8, _ip4_table@GOTPAGEOFF]
Lloh26:
	ldr	w21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x1, x0
	add	x2, x19, #40
	add	x3, x20, w22, sxtw
	mov	x0, x21
	bl	_ib_pack
Lloh27:
	adrp	x8, _IB_IP4_BYTES@GOTPAGE
Lloh28:
	ldr	x8, [x8, _IB_IP4_BYTES@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
	add	w22, w22, w8
LBB0_9:
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_11
; %bb.10:
Lloh30:
	adrp	x8, _udp_table@GOTPAGE
Lloh31:
	ldr	x8, [x8, _udp_table@GOTPAGEOFF]
Lloh32:
	ldr	w21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x1, x0
	add	x2, x19, #24
	add	x3, x20, w22, sxtw
	mov	x0, x21
	bl	_ib_pack
Lloh33:
	adrp	x8, _IB_UDP_BYTES@GOTPAGE
Lloh34:
	ldr	x8, [x8, _IB_UDP_BYTES@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	add	w22, w22, w8
LBB0_11:
Lloh36:
	adrp	x8, _bth_table@GOTPAGE
Lloh37:
	ldr	x8, [x8, _bth_table@GOTPAGEOFF]
Lloh38:
	ldr	w21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x1, x0
	add	x2, x19, #20
	add	x3, x20, w22, sxtw
	mov	x0, x21
	bl	_ib_pack
Lloh39:
	adrp	x8, _IB_BTH_BYTES@GOTPAGE
Lloh40:
	ldr	x8, [x8, _IB_BTH_BYTES@GOTPAGEOFF]
Lloh41:
	ldr	w8, [x8]
	add	w22, w22, w8
Lloh42:
	adrp	x8, _deth_table@GOTPAGE
Lloh43:
	ldr	x8, [x8, _deth_table@GOTPAGEOFF]
Lloh44:
	ldr	w21, [x8]
	mov	x0, x21
	bl	_ARRAY_SIZE
	mov	x1, x0
	add	x2, x19, #16
	add	x3, x20, w22, sxtw
	mov	x0, x21
	bl	_ib_pack
Lloh45:
	adrp	x8, _IB_DETH_BYTES@GOTPAGE
Lloh46:
	ldr	x8, [x8, _IB_DETH_BYTES@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	add	w21, w22, w8
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_13
; %bb.12:
	add	x0, x20, w21, sxtw
	mov	x1, x19
	mov	w2, #4
	bl	_memcpy
	add	w21, w21, #4
LBB0_13:
	mov	x0, x21
	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
LBB0_14:
	mov	w22, #0
	ldr	x8, [x19, #96]
	cbnz	x8, LBB0_2
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.cfi_endproc
                                        ; -- End function
	.comm	_lrh_table,4,2                  ; @lrh_table
	.comm	_IB_LRH_BYTES,8,3               ; @IB_LRH_BYTES
	.comm	_eth_table,4,2                  ; @eth_table
	.comm	_IB_ETH_BYTES,8,3               ; @IB_ETH_BYTES
	.comm	_vlan_table,4,2                 ; @vlan_table
	.comm	_IB_VLAN_BYTES,8,3              ; @IB_VLAN_BYTES
	.comm	_grh_table,4,2                  ; @grh_table
	.comm	_IB_GRH_BYTES,8,3               ; @IB_GRH_BYTES
	.comm	_ip4_table,4,2                  ; @ip4_table
	.comm	_IB_IP4_BYTES,8,3               ; @IB_IP4_BYTES
	.comm	_udp_table,4,2                  ; @udp_table
	.comm	_IB_UDP_BYTES,8,3               ; @IB_UDP_BYTES
	.comm	_bth_table,4,2                  ; @bth_table
	.comm	_IB_BTH_BYTES,8,3               ; @IB_BTH_BYTES
	.comm	_deth_table,4,2                 ; @deth_table
	.comm	_IB_DETH_BYTES,8,3              ; @IB_DETH_BYTES
.subsections_via_symbols
