	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_read_append_filter_program_signature ## -- Begin function archive_read_append_filter_program_signature
	.p2align	4, 0x90
_archive_read_append_filter_program_signature: ## @archive_read_append_filter_program_signature
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	callq	_archive_read_support_filter_program_signature
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %r15
	cmpq	(%r15), %rax
	jne	LBB0_1
## %bb.2:
	movq	24(%rbx), %r14
	cmpq	$0, 16(%r14)
	je	LBB0_3
## %bb.5:
	movl	$1, %edi
	movl	$32, %esi
	callq	_calloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	movq	%r14, 24(%rax)
	movq	%rbx, 16(%rax)
	movq	8(%rbx), %rcx
	movq	%rcx, 8(%rax)
	movq	%rax, 8(%rbx)
	movq	%rax, %rdi
	callq	*(%r14)
	movslq	%eax, %rcx
	cmpq	%rcx, (%r15)
	jne	LBB0_8
## %bb.9:
	movq	8(%rbx), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, 8(%r14)
	movl	$1, (%rbx)
	jmp	LBB0_10
LBB0_3:
	addq	$16, %rbx
	movq	_ARCHIVE_ERRNO_PROGRAMMER@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	jmp	LBB0_4
LBB0_6:
	addq	$16, %rbx
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.1(%rip), %rdx
LBB0_4:
	movq	%rbx, %rdi
	callq	_archive_set_error
	jmp	LBB0_1
LBB0_8:
	movq	%rbx, %rdi
	callq	___archive_read_free_filters
LBB0_1:
	movq	_ARCHIVE_FATAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ARCHIVE_OK,8,3                 ## @ARCHIVE_OK
	.comm	_ARCHIVE_FATAL,4,2              ## @ARCHIVE_FATAL
	.comm	_ARCHIVE_ERRNO_PROGRAMMER,4,2   ## @ARCHIVE_ERRNO_PROGRAMMER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Internal error: Unable to append program filter"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"Out of memory"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_archive_read_append_filter_program_signature ; -- Begin function archive_read_append_filter_program_signature
	.p2align	2
_archive_read_append_filter_program_signature: ; @archive_read_append_filter_program_signature
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	bl	_archive_read_support_filter_program_signature
Lloh0:
	adrp	x21, _ARCHIVE_OK@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ARCHIVE_OK@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x0, x8
	b.ne	LBB0_8
; %bb.1:
	ldr	x20, [x19, #24]
	ldr	x8, [x20, #16]
	cbz	x8, LBB0_5
; %bb.2:
	mov	w0, #1
	mov	w1, #32
	bl	_calloc
	cbz	x0, LBB0_6
; %bb.3:
	str	x20, [x0, #24]
	ldr	x8, [x19, #8]
	stp	x8, x19, [x0, #8]
	str	x0, [x19, #8]
	ldr	x8, [x20]
	blr	x8
	ldr	x8, [x21]
	cmp	x8, w0, sxtw
	b.ne	LBB0_7
; %bb.4:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	str	x8, [x20, #8]
	mov	w8, #1
	str	w8, [x19]
	b	LBB0_9
LBB0_5:
	add	x0, x19, #16
Lloh2:
	adrp	x8, _ARCHIVE_ERRNO_PROGRAMMER@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ARCHIVE_ERRNO_PROGRAMMER@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x2, l_.str@PAGE
Lloh6:
	add	x2, x2, l_.str@PAGEOFF
	bl	_archive_set_error
	b	LBB0_8
LBB0_6:
	add	x0, x19, #16
Lloh7:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh8:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
Lloh10:
	adrp	x2, l_.str.1@PAGE
Lloh11:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_archive_set_error
	b	LBB0_8
LBB0_7:
	mov	x0, x19
	bl	___archive_read_free_filters
LBB0_8:
Lloh12:
	adrp	x8, _ARCHIVE_FATAL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ARCHIVE_FATAL@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_ARCHIVE_OK,8,3                 ; @ARCHIVE_OK
	.comm	_ARCHIVE_FATAL,4,2              ; @ARCHIVE_FATAL
	.comm	_ARCHIVE_ERRNO_PROGRAMMER,4,2   ; @ARCHIVE_ERRNO_PROGRAMMER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Internal error: Unable to append program filter"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"Out of memory"

.subsections_via_symbols
