	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_showattr                       ## -- Begin function showattr
	.p2align	4, 0x90
_showattr:                              ## @showattr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	cmpl	$1, %edi
	je	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_usage
LBB0_2:
	movq	(%r14), %rdi
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_open
	cmpl	$-1, %eax
	je	LBB0_13
## %bb.3:
	movl	%eax, %ebx
	leaq	-32(%rbp), %rsi
	movl	%eax, %edi
	movl	$16, %edx
	callq	_read
	cmpl	$16, %eax
	je	LBB0_6
## %bb.4:
	cmpl	$-1, %eax
	je	LBB0_14
## %bb.5:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rdx
	leaq	L_.str(%rip), %rsi
	jmp	LBB0_9
LBB0_6:
	movq	-32(%rbp), %rax
	movq	_UFS_EXTATTR_MAGIC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movq	(%r14), %rsi
	movl	-24(%rbp), %edx
	movl	-20(%rbp), %ecx
	leaq	L_.str.2(%rip), %rdi
	callq	_printf
	movl	%ebx, %edi
	callq	_close
	xorl	%eax, %eax
	jmp	LBB0_12
LBB0_8:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	(%r14), %rdx
	leaq	L_.str.1(%rip), %rsi
LBB0_9:
	callq	_fprintf
LBB0_10:
	movl	%ebx, %edi
	callq	_close
LBB0_11:
	movl	$-1, %eax
LBB0_12:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_13:
	movq	(%r14), %rdi
	callq	_perror
	jmp	LBB0_11
LBB0_14:
	movq	(%r14), %rdi
	callq	_perror
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: invalid file header\n"

	.comm	_UFS_EXTATTR_MAGIC,8,3          ## @UFS_EXTATTR_MAGIC
L_.str.1:                               ## @.str.1
	.asciz	"%s: bad magic\n"

L_.str.2:                               ## @.str.2
	.asciz	"%s: version %d, size %d\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_showattr                       ; -- Begin function showattr
	.p2align	2
_showattr:                              ; @showattr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x1
	cmp	w0, #1
	b.eq	LBB0_2
; %bb.1:
	bl	_usage
LBB0_2:
	ldr	x0, [x20]
Lloh0:
	adrp	x8, _O_RDONLY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _O_RDONLY@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_open
	cmn	w0, #1
	b.eq	LBB0_13
; %bb.3:
	mov	x19, x0
	mov	x1, sp
	mov	w2, #16
	bl	_read
	cmp	w0, #16
	b.eq	LBB0_6
; %bb.4:
	cmn	w0, #1
	b.eq	LBB0_14
; %bb.5:
Lloh3:
	adrp	x8, _stderr@GOTPAGE
Lloh4:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldr	x2, [x20]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	b	LBB0_9
LBB0_6:
	ldr	x8, [sp]
Lloh8:
	adrp	x9, _UFS_EXTATTR_MAGIC@GOTPAGE
Lloh9:
	ldr	x9, [x9, _UFS_EXTATTR_MAGIC@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	ldr	x1, [x20]
	ldp	w2, w3, [sp, #8]
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_printf
	mov	x0, x19
	bl	_close
	mov	w0, #0
	b	LBB0_12
LBB0_8:
Lloh13:
	adrp	x8, _stderr@GOTPAGE
Lloh14:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh15:
	ldr	w0, [x8]
	ldr	x2, [x20]
Lloh16:
	adrp	x1, l_.str.1@PAGE
Lloh17:
	add	x1, x1, l_.str.1@PAGEOFF
LBB0_9:
	bl	_fprintf
LBB0_10:
	mov	x0, x19
	bl	_close
LBB0_11:
	mov	w0, #-1
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_13:
	ldr	x0, [x20]
	bl	_perror
	b	LBB0_11
LBB0_14:
	ldr	x0, [x20]
	bl	_perror
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: invalid file header\n"

	.comm	_UFS_EXTATTR_MAGIC,8,3          ; @UFS_EXTATTR_MAGIC
l_.str.1:                               ; @.str.1
	.asciz	"%s: bad magic\n"

l_.str.2:                               ; @.str.2
	.asciz	"%s: version %d, size %d\n"

.subsections_via_symbols
