	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function weld_float16_4
_weld_float16_4:                        ## @weld_float16_4
	.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
	subq	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, -128(%rbp)                ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	-80(%rbp), %rdi
	movq	%r12, %rsi
	movl	$4, %edx
	callq	_D3DXFloat16To32Array
	leaq	-112(%rbp), %rdi
	movq	%rbx, -120(%rbp)                ## 8-byte Spill
	movq	%rbx, %rsi
	movl	$4, %edx
	callq	_D3DXFloat16To32Array
	movq	-80(%rbp), %rdi
	subq	-112(%rbp), %rdi
	callq	_fabsf
	movq	%rax, %r13
	movq	-72(%rbp), %rdi
	subq	-104(%rbp), %rdi
	callq	_fabsf
	movq	%rax, %rbx
	movq	-64(%rbp), %rdi
	subq	-96(%rbp), %rdi
	callq	_fabsf
	movq	%rax, %r15
	movq	-56(%rbp), %rdi
	subq	-88(%rbp), %rdi
	callq	_fabsf
	movq	%rax, %r14
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_max
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_max
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_max
	cmpq	-128(%rbp), %rax                ## 8-byte Folded Reload
	jle	LBB0_2
## %bb.1:
	movq	_FALSE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movq	%r12, %rdi
	movq	-120(%rbp), %rsi                ## 8-byte Reload
	movl	$16, %edx
	callq	_memcpy
	movq	_TRUE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_NUM_ELEM,4,2                   ## @NUM_ELEM
	.no_dead_strip	_weld_float16_4
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function weld_float16_4
_weld_float16_4:                        ; @weld_float16_4
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #72]
	add	x0, sp, #40
	mov	x1, x20
	mov	w2, #4
	bl	_D3DXFloat16To32Array
	add	x0, sp, #8
	mov	x1, x19
	mov	w2, #4
	bl	_D3DXFloat16To32Array
	ldr	x8, [sp, #40]
	ldr	x9, [sp, #8]
	sub	x0, x8, x9
	bl	_fabsf
	mov	x22, x0
	ldr	x8, [sp, #48]
	ldr	x9, [sp, #16]
	sub	x0, x8, x9
	bl	_fabsf
	mov	x23, x0
	ldr	x8, [sp, #56]
	ldr	x9, [sp, #24]
	sub	x0, x8, x9
	bl	_fabsf
	mov	x24, x0
	ldr	x8, [sp, #64]
	ldr	x9, [sp, #32]
	sub	x0, x8, x9
	bl	_fabsf
	mov	x25, x0
	mov	x0, x22
	mov	x1, x23
	bl	_max
	mov	x1, x0
	mov	x0, x24
	bl	_max
	mov	x1, x0
	mov	x0, x25
	bl	_max
	cmp	x0, x21
	b.le	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	mov	x0, x20
	mov	x1, x19
	mov	w2, #16
	bl	_memcpy
Lloh5:
	adrp	x8, _TRUE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldr	x8, [sp, #72]
Lloh7:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh8:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_5
; %bb.4:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
LBB0_5:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_NUM_ELEM,4,2                   ; @NUM_ELEM
	.no_dead_strip	_weld_float16_4
.subsections_via_symbols
