	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fixhead                        ## -- Begin function fixhead
	.p2align	4, 0x90
_fixhead:                               ## @fixhead
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorps	%xmm0, %xmm0
	movups	%xmm0, (%rdi)
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	$0, 16(%rdi)
	testq	%rsi, %rsi
	je	LBB0_9
## %bb.1:
	movq	%rsi, %rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leaq	16(%rax), %r13
	addq	$8, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	_GDEL@GOTPCREL(%rip), %r14
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	(%rcx), %r15
	movl	4(%rbx), %edi
	callq	_nalloc
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_cat
	movq	%rax, (%r12)
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rbx), %esi
	testl	%esi, (%r14)
	jne	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_GMASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%esi, %eax
	movq	%r13, %rcx
	movq	%r13, %r12
	movq	_GTO@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rcx
	movq	_GCC@GOTPCREL(%rip), %rdx
	cmpl	(%rdx), %eax
	je	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	_GBCC@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rcx
	jmp	LBB0_7
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GDEL,4,2                       ## @GDEL
	.comm	_GMASK,4,2                      ## @GMASK
	.comm	_GTO,4,2                        ## @GTO
	.comm	_GCC,4,2                        ## @GCC
	.comm	_GBCC,4,2                       ## @GBCC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fixhead                        ; -- Begin function fixhead
	.p2align	2
_fixhead:                               ; @fixhead
	.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	x20, x0
	str	xzr, [x20, #16]!
	mov	x23, x0
	str	xzr, [x23, #8]!
	str	xzr, [x0]
	cbz	x1, LBB0_9
; %bb.1:
	mov	x19, x1
	mov	x28, x0
Lloh0:
	adrp	x24, _GDEL@GOTPAGE
Lloh1:
	ldr	x24, [x24, _GDEL@GOTPAGEOFF]
Lloh2:
	adrp	x25, _GMASK@GOTPAGE
Lloh3:
	ldr	x25, [x25, _GMASK@GOTPAGEOFF]
Lloh4:
	adrp	x26, _GTO@GOTPAGE
Lloh5:
	ldr	x26, [x26, _GTO@GOTPAGEOFF]
Lloh6:
	adrp	x27, _GCC@GOTPAGE
Lloh7:
	ldr	x27, [x27, _GCC@GOTPAGEOFF]
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x21, [x9]
	ldr	w0, [x19, #4]
	bl	_nalloc
	mov	x1, x0
	mov	x0, x21
	bl	_cat
	str	x0, [x22]
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x19, [x19, #8]
	cbz	x19, LBB0_9
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19]
	ldr	w8, [x24]
	tst	w8, w1
	b.ne	LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w8, [x25]
	and	w8, w8, w1
	ldr	w10, [x26]
	mov	x9, x20
	mov	x22, x20
	cmp	w8, w10
	b.eq	LBB0_2
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w10, [x27]
	mov	x9, x23
	mov	x22, x23
	cmp	w8, w10
	b.eq	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh8:
	adrp	x9, _GBCC@GOTPAGE
Lloh9:
	ldr	x9, [x9, _GBCC@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x9, x28
	mov	x22, x28
	b	LBB0_2
LBB0_9:
	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	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GDEL,4,2                       ; @GDEL
	.comm	_GMASK,4,2                      ; @GMASK
	.comm	_GTO,4,2                        ; @GTO
	.comm	_GCC,4,2                        ; @GCC
	.comm	_GBCC,4,2                       ; @GBCC
.subsections_via_symbols
