	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IkeBuildTransformValue         ## -- Begin function IkeBuildTransformValue
	.p2align	4, 0x90
_IkeBuildTransformValue:                ## @IkeBuildTransformValue
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	movq	%rdi, %r14
	movl	(%rdi), %eax
	movl	%eax, -32(%rbp)
	movl	4(%rdi), %edi
	xorl	%eax, %eax
	cmpl	$65536, %edi                    ## imm = 0x10000
	setl	%al
	movl	$4, %ecx
	cmovgel	%ecx, %edi
	shll	$7, %eax
	movl	%eax, -20(%rbp)
	callq	_Endian16
	movl	%eax, -28(%rbp)
	xorl	%eax, %eax
	callq	_NewBuf
	movq	%rax, %rbx
	leaq	-20(%rbp), %rsi
	movq	%rax, %rdi
	movl	$4, %edx
	callq	_WriteBuf
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_WriteBuf
	leaq	-28(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_WriteBuf
	cmpl	$0, -20(%rbp)
	jne	LBB0_4
## %bb.3:
	movl	4(%r14), %edi
	callq	_Endian32
	movl	%eax, -24(%rbp)
	leaq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$4, %edx
	callq	_WriteBuf
	jmp	LBB0_4
LBB0_1:
	xorl	%ebx, %ebx
LBB0_4:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IkeBuildTransformValue         ; -- Begin function IkeBuildTransformValue
	.p2align	2
_IkeBuildTransformValue:                ; @IkeBuildTransformValue
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x0
	ldp	w10, w9, [x0]
	mov	w8, #4
	cmp	w9, #16, lsl #12                ; =65536
	csel	w0, w8, w9, ge
	cset	w8, lt
	lsl	w8, w8, #7
	stp	w10, w8, [sp, #8]
	bl	_Endian16
	str	w0, [sp, #4]
	bl	_NewBuf
	mov	x19, x0
	add	x1, sp, #12
	mov	w2, #4
	bl	_WriteBuf
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #4
	bl	_WriteBuf
	add	x1, sp, #4
	mov	x0, x19
	mov	w2, #4
	bl	_WriteBuf
	ldr	w8, [sp, #12]
	cbnz	w8, LBB0_4
; %bb.2:
	ldr	w0, [x20, #4]
	bl	_Endian32
	str	w0, [sp]
	mov	x1, sp
	mov	x0, x19
	mov	w2, #4
	bl	_WriteBuf
	b	LBB0_4
LBB0_3:
	mov	x19, #0
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
