	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ib_ud_header_init              ## -- Begin function ib_ud_header_init
	.p2align	4, 0x90
_ib_ud_header_init:                     ## @ib_ud_header_init
	.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	%r9d, -48(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r13d
	movl	%ecx, %r15d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r12d
	movl	%edi, %r14d
	movq	16(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$96, %edx
	callq	_memset
	testl	%r12d, %r12d
	je	LBB0_2
## %bb.1:
	movq	$0, 88(%rbx)
	testl	%r13d, %r13d
	movq	_IB_LNH_IBA_GLOBAL@GOTPCREL(%rip), %rax
	cmoveq	_IB_LNH_IBA_LOCAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 80(%rbx)
	movq	_IB_LRH_BYTES@GOTPCREL(%rip), %rax
	movq	_IB_BTH_BYTES@GOTPCREL(%rip), %rcx
	movq	_IB_DETH_BYTES@GOTPCREL(%rip), %rdx
	movq	_IB_GRH_BYTES@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	cmovel	%r13d, %esi
	movl	(%rax), %eax
	addl	%r14d, %eax
	addl	(%rcx), %eax
	addl	(%rdx), %eax
	leal	(%rsi,%rax), %ecx
	addl	$7, %ecx
	leal	(%rsi,%rax), %edi
	addl	$10, %edi
	testl	%ecx, %ecx
	cmovnsl	%ecx, %edi
	sarl	$2, %edi
	callq	_cpu_to_be16
	movq	%rax, 72(%rbx)
LBB0_2:
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.3:
	movq	_ETH_P_8021Q@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_be16
	movq	%rax, 64(%rbx)
LBB0_4:
	testl	%r13d, %r13d
	je	LBB0_6
## %bb.5:
	movl	$6, 48(%rbx)
	movq	_IB_BTH_BYTES@GOTPCREL(%rip), %rax
	movq	_IB_DETH_BYTES@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	(%rax), %eax
	addl	%r14d, %eax
	leal	(%rcx,%rax), %edi
	addl	$7, %edi
	andl	$-4, %edi
	callq	_cpu_to_be16
	movq	%rax, 56(%rbx)
	movl	$27, 52(%rbx)
LBB0_6:
	movl	-48(%rbp), %ecx                 ## 4-byte Reload
	testl	%ecx, %ecx
	jne	LBB0_7
## %bb.8:
	movq	_IB_OPCODE_UD_SEND_ONLY@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_7:
	movq	_IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %eax
	movl	%eax, 40(%rbx)
	negl	%r14d
	andl	$3, %r14d
	movl	%r14d, 24(%rbx)
	movq	$0, 32(%rbx)
	movl	%r12d, (%rbx)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 4(%rbx)
	movl	%r15d, 8(%rbx)
	movl	%r13d, 12(%rbx)
	movl	%ecx, 16(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_LNH_IBA_GLOBAL,4,2          ## @IB_LNH_IBA_GLOBAL
	.comm	_IB_LNH_IBA_LOCAL,4,2           ## @IB_LNH_IBA_LOCAL
	.comm	_IB_LRH_BYTES,4,2               ## @IB_LRH_BYTES
	.comm	_IB_BTH_BYTES,4,2               ## @IB_BTH_BYTES
	.comm	_IB_DETH_BYTES,4,2              ## @IB_DETH_BYTES
	.comm	_IB_GRH_BYTES,4,2               ## @IB_GRH_BYTES
	.comm	_ETH_P_8021Q,4,2                ## @ETH_P_8021Q
	.comm	_IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE,4,2 ## @IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE
	.comm	_IB_OPCODE_UD_SEND_ONLY,4,2     ## @IB_OPCODE_UD_SEND_ONLY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ib_ud_header_init              ; -- Begin function ib_ud_header_init
	.p2align	2
_ib_ud_header_init:                     ; @ib_ud_header_init
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x6
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x24, x1
	mov	x25, x0
	mov	x0, x6
	mov	w1, #0
	mov	w2, #96
	bl	_memset
Lloh0:
	adrp	x26, _IB_BTH_BYTES@GOTPAGE
Lloh1:
	ldr	x26, [x26, _IB_BTH_BYTES@GOTPAGEOFF]
Lloh2:
	adrp	x27, _IB_DETH_BYTES@GOTPAGE
Lloh3:
	ldr	x27, [x27, _IB_DETH_BYTES@GOTPAGEOFF]
	cbz	w24, LBB0_2
; %bb.1:
	str	xzr, [x19, #88]
Lloh4:
	adrp	x8, _IB_LNH_IBA_GLOBAL@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IB_LNH_IBA_GLOBAL@GOTPAGEOFF]
Lloh6:
	adrp	x9, _IB_LNH_IBA_LOCAL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IB_LNH_IBA_LOCAL@GOTPAGEOFF]
Lloh8:
	adrp	x10, _IB_GRH_BYTES@GOTPAGE
Lloh9:
	ldr	x10, [x10, _IB_GRH_BYTES@GOTPAGEOFF]
Lloh10:
	ldr	w10, [x10]
	cmp	w21, #0
	csel	w10, wzr, w10, eq
	csel	x8, x9, x8, eq
	ldr	w8, [x8]
	str	w8, [x19, #80]
Lloh11:
	adrp	x8, _IB_LRH_BYTES@GOTPAGE
Lloh12:
	ldr	x8, [x8, _IB_LRH_BYTES@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	ldr	w9, [x26]
	ldr	w11, [x27]
	add	w8, w25, w8
	add	w8, w8, w9
	add	w8, w8, w11
	add	w8, w8, w10
	add	w9, w8, #7
	add	w8, w8, #10
	cmp	w9, #0
	csel	w8, w8, w9, lt
	asr	w0, w8, #2
	bl	_cpu_to_be16
	str	x0, [x19, #72]
LBB0_2:
	cbz	w22, LBB0_4
; %bb.3:
Lloh14:
	adrp	x8, _ETH_P_8021Q@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ETH_P_8021Q@GOTPAGEOFF]
Lloh16:
	ldr	w0, [x8]
	bl	_cpu_to_be16
	str	x0, [x19, #64]
LBB0_4:
	cbz	w21, LBB0_6
; %bb.5:
	mov	w8, #6
	str	w8, [x19, #48]
	ldr	w8, [x26]
	ldr	w9, [x27]
	add	w8, w25, w8
	add	w8, w8, w9
	add	w8, w8, #7
	and	w0, w8, #0xfffffffc
	bl	_cpu_to_be16
	str	x0, [x19, #56]
	mov	w8, #27
	str	w8, [x19, #52]
LBB0_6:
Lloh17:
	adrp	x8, _IB_OPCODE_UD_SEND_ONLY@GOTPAGE
Lloh18:
	ldr	x8, [x8, _IB_OPCODE_UD_SEND_ONLY@GOTPAGEOFF]
Lloh19:
	adrp	x9, _IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE@GOTPAGE
Lloh20:
	ldr	x9, [x9, _IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE@GOTPAGEOFF]
	cmp	w20, #0
	csel	x8, x8, x9, eq
	ldr	w8, [x8]
	str	w8, [x19, #40]
	neg	w8, w25
	and	w8, w8, #0x3
	str	w8, [x19, #24]
	str	xzr, [x19, #32]
	stp	w24, w23, [x19]
	stp	w22, w21, [x19, #8]
	str	w20, [x19, #16]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_LNH_IBA_GLOBAL,4,2          ; @IB_LNH_IBA_GLOBAL
	.comm	_IB_LNH_IBA_LOCAL,4,2           ; @IB_LNH_IBA_LOCAL
	.comm	_IB_LRH_BYTES,4,2               ; @IB_LRH_BYTES
	.comm	_IB_BTH_BYTES,4,2               ; @IB_BTH_BYTES
	.comm	_IB_DETH_BYTES,4,2              ; @IB_DETH_BYTES
	.comm	_IB_GRH_BYTES,4,2               ; @IB_GRH_BYTES
	.comm	_ETH_P_8021Q,4,2                ; @ETH_P_8021Q
	.comm	_IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE,4,2 ; @IB_OPCODE_UD_SEND_ONLY_WITH_IMMEDIATE
	.comm	_IB_OPCODE_UD_SEND_ONLY,4,2     ; @IB_OPCODE_UD_SEND_ONLY
.subsections_via_symbols
