	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_trailers               ## -- Begin function process_trailers
	.p2align	4, 0x90
_process_trailers:                      ## @process_trailers
	.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
	movq	%rdx, %r12
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_head@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LIST_HEAD
	movq	_STRBUF_INIT@GOTPCREL(%rip), %rax
	movups	(%rax), %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	_stdout@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	xorl	%eax, %eax
	callq	_ensure_configured
	leaq	-64(%rbp), %rdi
	movq	%r14, %rsi
	callq	_read_input_file
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_create_in_place_tempfile
	movq	%rax, %r15
LBB0_2:
	movq	-56(%rbp), %rsi
	movq	_head@GOTPCREL(%rip), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rcx
	callq	_process_input_file
	movq	%rax, %r13
	cmpl	$0, 12(%rbx)
	jne	LBB0_4
## %bb.3:
	movq	_arg_head@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_LIST_HEAD
	movq	_arg_head@GOTPCREL(%rip), %rdi
	movq	%r12, %rsi
	callq	_process_command_line_args
	movq	_head@GOTPCREL(%rip), %rdi
	movq	_arg_head@GOTPCREL(%rip), %rsi
	callq	_process_trailers_lists
LBB0_4:
	movq	_head@GOTPCREL(%rip), %r12
	movq	%r15, %rdi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_print_all
	movq	%r12, %rdi
	callq	_free_all
	cmpl	$0, 8(%rbx)
	je	LBB0_5
## %bb.6:
	cmpq	$0, (%rbx)
	jne	LBB0_7
	jmp	LBB0_9
LBB0_5:
	movq	-56(%rbp), %rdi
	addq	%r13, %rdi
	movq	-64(%rbp), %rdx
	subq	%r13, %rdx
	movl	$1, %esi
	movq	%r15, %rcx
	callq	_fwrite
	cmpq	$0, (%rbx)
	je	LBB0_9
LBB0_7:
	movq	_trailers_tempfile@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	callq	_rename_tempfile
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_die_errno
LBB0_9:
	leaq	-64(%rbp), %rdi
	callq	_strbuf_release
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_head,4,2                       ## @head
	.comm	_STRBUF_INIT,16,3               ## @STRBUF_INIT
	.comm	_stdout,8,3                     ## @stdout
	.comm	_arg_head,4,2                   ## @arg_head
	.comm	_trailers_tempfile,4,2          ## @trailers_tempfile
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"could not rename temporary file to %s"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_process_trailers               ; -- Begin function process_trailers
	.p2align	2
_process_trailers:                      ; @process_trailers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _head@GOTPAGE
Lloh1:
	ldr	x8, [x8, _head@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_LIST_HEAD
Lloh3:
	adrp	x8, _STRBUF_INIT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _STRBUF_INIT@GOTPAGEOFF]
Lloh5:
	ldr	q0, [x8]
	str	q0, [sp]
Lloh6:
	adrp	x8, _stdout@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh8:
	ldr	x21, [x8]
	bl	_ensure_configured
	mov	x0, sp
	mov	x1, x19
	bl	_read_input_file
	ldr	x8, [x20]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_create_in_place_tempfile
	mov	x21, x0
LBB0_2:
	ldr	x1, [sp, #8]
Lloh9:
	adrp	x2, _head@GOTPAGE
Lloh10:
	ldr	x2, [x2, _head@GOTPAGEOFF]
	mov	x0, x21
	mov	x3, x20
	bl	_process_input_file
	mov	x23, x0
	ldr	w8, [x20, #12]
	cbnz	w8, LBB0_4
; %bb.3:
Lloh11:
	adrp	x24, _arg_head@GOTPAGE
Lloh12:
	ldr	x24, [x24, _arg_head@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_LIST_HEAD
	mov	x0, x24
	mov	x1, x22
	bl	_process_command_line_args
Lloh13:
	adrp	x0, _head@GOTPAGE
Lloh14:
	ldr	x0, [x0, _head@GOTPAGEOFF]
	mov	x1, x24
	bl	_process_trailers_lists
LBB0_4:
Lloh15:
	adrp	x22, _head@GOTPAGE
Lloh16:
	ldr	x22, [x22, _head@GOTPAGEOFF]
	mov	x0, x21
	mov	x1, x22
	mov	x2, x20
	bl	_print_all
	mov	x0, x22
	bl	_free_all
	ldr	w8, [x20, #8]
	cbz	w8, LBB0_6
; %bb.5:
	ldr	x8, [x20]
	cbnz	x8, LBB0_7
	b	LBB0_9
LBB0_6:
	ldp	x9, x8, [sp]
	add	x0, x8, x23
	sub	x2, x9, x23
	mov	w1, #1
	mov	x3, x21
	bl	_fwrite
	ldr	x8, [x20]
	cbz	x8, LBB0_9
LBB0_7:
Lloh17:
	adrp	x0, _trailers_tempfile@GOTPAGE
Lloh18:
	ldr	x0, [x0, _trailers_tempfile@GOTPAGEOFF]
	mov	x1, x19
	bl	_rename_tempfile
	cbz	x0, LBB0_9
; %bb.8:
Lloh19:
	adrp	x0, l_.str@PAGE
Lloh20:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x19
	bl	_die_errno
LBB0_9:
	mov	x0, sp
	bl	_strbuf_release
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_head,4,2                       ; @head
	.comm	_STRBUF_INIT,16,3               ; @STRBUF_INIT
	.comm	_stdout,8,3                     ; @stdout
	.comm	_arg_head,4,2                   ; @arg_head
	.comm	_trailers_tempfile,4,2          ; @trailers_tempfile
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"could not rename temporary file to %s"

.subsections_via_symbols
