	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bfd_ar_hdr_from_filesystem
_bfd_ar_hdr_from_filesystem:            ## @bfd_ar_hdr_from_filesystem
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	testq	%rdx, %rdx
	je	LBB0_3
## %bb.1:
	movq	_BFD_IN_MEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdx)
	je	LBB0_3
## %bb.2:
	movq	8(%rdx), %r14
	leaq	-48(%rbp), %rdi
	callq	_time
	xorl	%eax, %eax
	callq	_getuid
	movl	%eax, -44(%rbp)
	xorl	%eax, %eax
	callq	_getgid
	movl	%eax, -40(%rbp)
	movl	$420, -36(%rbp)                 ## imm = 0x1A4
	movl	(%r14), %eax
	movl	%eax, -32(%rbp)
	jmp	LBB0_5
LBB0_3:
	leaq	-48(%rbp), %rax
	movq	%rsi, %rdi
	movq	%rax, %rsi
	callq	_stat
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	_bfd_error_system_call@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_bfd_set_error
	jmp	LBB0_7
LBB0_5:
	movq	%rbx, %rdi
	movl	$40, %esi
	callq	_bfd_zalloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rax, %rbx
	movq	%rax, %r14
	addq	$16, %r14
	movq	%r14, %rdi
	movl	$32, %esi
	movl	$24, %edx
	callq	_memset
	movl	36(%rbx), %edi
	movl	-48(%rbp), %ecx
	leaq	L_.str(%rip), %rdx
	movl	$4, %esi
	callq	__bfd_ar_spacepad
	movl	32(%rbx), %edi
	movl	-44(%rbp), %ecx
	leaq	L_.str.1(%rip), %r15
	movl	$4, %esi
	movq	%r15, %rdx
	callq	__bfd_ar_spacepad
	movl	28(%rbx), %edi
	movl	-40(%rbp), %ecx
	movl	$4, %esi
	movq	%r15, %rdx
	callq	__bfd_ar_spacepad
	movl	24(%rbx), %edi
	movl	-36(%rbp), %ecx
	leaq	L_.str.2(%rip), %rdx
	movl	$4, %esi
	callq	__bfd_ar_spacepad
	movl	20(%rbx), %edi
	movl	-32(%rbp), %ecx
	leaq	L_.str.3(%rip), %rdx
	movl	$4, %esi
	callq	__bfd_ar_spacepad
	movl	16(%rbx), %edi
	movq	_ARFMAG@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$2, %edx
	callq	_memcpy
	movl	-32(%rbp), %eax
	movl	%eax, (%rbx)
	movq	%r14, 8(%rbx)
	jmp	LBB0_8
LBB0_7:
	xorl	%ebx, %ebx
LBB0_8:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BFD_IN_MEMORY,4,2              ## @BFD_IN_MEMORY
	.comm	_bfd_error_system_call,4,2      ## @bfd_error_system_call
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%-12ld"

L_.str.1:                               ## @.str.1
	.asciz	"%ld"

L_.str.2:                               ## @.str.2
	.asciz	"%-8lo"

L_.str.3:                               ## @.str.3
	.asciz	"%-10ld"

	.comm	_ARFMAG,4,2                     ## @ARFMAG
	.no_dead_strip	_bfd_ar_hdr_from_filesystem
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bfd_ar_hdr_from_filesystem
_bfd_ar_hdr_from_filesystem:            ; @bfd_ar_hdr_from_filesystem
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x8, x1
	mov	x19, x0
	cbz	x2, LBB0_3
; %bb.1:
	ldr	w9, [x2]
Lloh0:
	adrp	x10, _BFD_IN_MEMORY@GOTPAGE
Lloh1:
	ldr	x10, [x10, _BFD_IN_MEMORY@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w9
	b.eq	LBB0_3
; %bb.2:
	ldr	x20, [x2, #8]
	add	x0, sp, #8
	bl	_time
	bl	_getuid
	str	w0, [sp, #12]
	bl	_getgid
	mov	w8, #420
	stp	w0, w8, [sp, #16]
	ldr	w8, [x20]
	str	w8, [sp, #24]
	b	LBB0_5
LBB0_3:
	add	x1, sp, #8
	mov	x0, x8
	bl	_stat
	cbz	x0, LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _bfd_error_system_call@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bfd_error_system_call@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_bfd_set_error
	mov	x19, #0
	b	LBB0_7
LBB0_5:
	mov	x0, x19
	mov	w1, #40
	bl	_bfd_zalloc
	mov	x19, x0
	cbz	x0, LBB0_7
; %bb.6:
	add	x20, x19, #16
	mov	x0, x20
	mov	w1, #32
	mov	w2, #24
	bl	_memset
	ldr	w0, [x19, #36]
	ldr	w3, [sp, #8]
Lloh6:
	adrp	x2, l_.str@PAGE
Lloh7:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #4
	bl	__bfd_ar_spacepad
	ldr	w0, [x19, #32]
	ldr	w3, [sp, #12]
Lloh8:
	adrp	x21, l_.str.1@PAGE
Lloh9:
	add	x21, x21, l_.str.1@PAGEOFF
	mov	w1, #4
	mov	x2, x21
	bl	__bfd_ar_spacepad
	ldr	w0, [x19, #28]
	ldr	w3, [sp, #16]
	mov	w1, #4
	mov	x2, x21
	bl	__bfd_ar_spacepad
	ldr	w0, [x19, #24]
	ldr	w3, [sp, #20]
Lloh10:
	adrp	x2, l_.str.2@PAGE
Lloh11:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w1, #4
	bl	__bfd_ar_spacepad
	ldr	w0, [x19, #20]
	ldr	w3, [sp, #24]
Lloh12:
	adrp	x2, l_.str.3@PAGE
Lloh13:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	w1, #4
	bl	__bfd_ar_spacepad
	ldr	w0, [x19, #16]
Lloh14:
	adrp	x8, _ARFMAG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ARFMAG@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	w2, #2
	bl	_memcpy
	ldr	w8, [sp, #24]
	str	w8, [x19]
	str	x20, [x19, #8]
LBB0_7:
	mov	x0, x19
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_BFD_IN_MEMORY,4,2              ; @BFD_IN_MEMORY
	.comm	_bfd_error_system_call,4,2      ; @bfd_error_system_call
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%-12ld"

l_.str.1:                               ; @.str.1
	.asciz	"%ld"

l_.str.2:                               ; @.str.2
	.asciz	"%-8lo"

l_.str.3:                               ; @.str.3
	.asciz	"%-10ld"

	.comm	_ARFMAG,4,2                     ; @ARFMAG
	.no_dead_strip	_bfd_ar_hdr_from_filesystem
.subsections_via_symbols
