	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movl	%edi, %ebx
	movq	_ELFOSABI_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_EV_CURRENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_elf_version
	movq	_EV_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_errx
LBB0_2:
	leaq	LJTI0_0(%rip), %r12
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -56(%rbp)                   ## 4-byte Folded Spill
	movl	$0, -72(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
LBB0_14:                                ##   in Loop: Header=BB0_3 Depth=1
	leaq	L_.str.3(%rip), %rdi
	movq	%r13, %rsi
	xorl	%eax, %eax
	callq	_warnx
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_usage
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	_brandelf_longopts@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%ebx, %edi
	movq	%r14, %rsi
	leaq	L_.str.1(%rip), %rdx
	xorl	%r8d, %r8d
	callq	_getopt_long
                                        ## kill: def $eax killed $eax def $rax
	leal	-86(%rax), %ecx
	cmpl	$32, %ecx
	ja	LBB0_4
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%r12,%rcx,4), %rax
	addq	%r12, %rax
	jmpq	*%rax
LBB0_21:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_printversion
	jmp	LBB0_3
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rsi
	callq	_errx
LBB0_11:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	%r13, %rdi
	callq	_atoi
	movl	%eax, %r15d
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	$1, -56(%rbp)                   ## 4-byte Folded Spill
	movq	_ERANGE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_3 Depth=1
	testl	%r15d, %r15d
	js	LBB0_14
## %bb.13:                              ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$256, %r15d                     ## imm = 0x100
	jl	LBB0_3
	jmp	LBB0_14
LBB0_16:                                ##   in Loop: Header=BB0_3 Depth=1
	xorl	%eax, %eax
	callq	_printelftypes
	movl	$1, -72(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_3
LBB0_17:                                ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$0, -56(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	callq	_errx
LBB0_19:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_elftype
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	movl	%eax, %r15d
	cmpl	$-1, %eax
	jne	LBB0_3
## %bb.20:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	_optarg@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	xorl	%eax, %eax
	callq	_usage
	movl	$-1, %r15d
	jmp	LBB0_3
LBB0_4:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$-1, %eax
	jne	LBB0_15
## %bb.5:
	movq	_optind@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	cmpl	%r12d, %ebx
	je	LBB0_6
## %bb.23:
	movl	-56(%rbp), %eax                 ## 4-byte Reload
	orl	%eax, -44(%rbp)                 ## 4-byte Folded Spill
	setne	%al
	movzbl	%r15b, %ecx
	movl	%ecx, -84(%rbp)                 ## 4-byte Spill
	movl	%ebx, %ecx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movl	%eax, %ebx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	jmp	LBB0_24
	.p2align	4, 0x90
LBB0_54:                                ##   in Loop: Header=BB0_24 Depth=1
	movq	(%r14,%r12,8), %rsi
	leaq	L_.str.7(%rip), %rdi
	callq	_warn
LBB0_51:                                ##   in Loop: Header=BB0_24 Depth=1
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_52:                                ##   in Loop: Header=BB0_24 Depth=1
	incq	%r12
	cmpl	%r12d, -56(%rbp)                ## 4-byte Folded Reload
	je	LBB0_53
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	testb	%bl, %bl
	je	LBB0_26
## %bb.25:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	_O_RDWR@GOTPCREL(%rip), %rax
LBB0_26:                                ##   in Loop: Header=BB0_24 Depth=1
	movq	(%r14,%r12,8), %rdi
	movl	(%rax), %esi
	xorl	%edx, %edx
	callq	_open
	testl	%eax, %eax
	js	LBB0_54
## %bb.27:                              ##   in Loop: Header=BB0_24 Depth=1
	movl	%eax, %r13d
	movq	_ELF_C_READ@GOTPCREL(%rip), %rax
	movl	%ebx, %r15d
	testb	%bl, %bl
	je	LBB0_29
## %bb.28:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	_ELF_C_RDWR@GOTPCREL(%rip), %rax
LBB0_29:                                ##   in Loop: Header=BB0_24 Depth=1
	movl	(%rax), %esi
	movl	%r13d, %edi
	xorl	%edx, %edx
	callq	_elf_begin
	testq	%rax, %rax
	je	LBB0_30
## %bb.31:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_elf_kind
	movq	_ELF_K_ELF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_32
## %bb.35:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	%rbx, %rdi
	leaq	-80(%rbp), %rsi
	callq	_gelf_getehdr
	testq	%rax, %rax
	je	LBB0_36
## %bb.37:                              ##   in Loop: Header=BB0_24 Depth=1
	testb	%r15b, %r15b
	je	LBB0_38
## %bb.40:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	_ELF_C_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_ELF_F_LAYOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_elf_flagelf
	testq	%rax, %rax
	je	LBB0_41
## %bb.42:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	-80(%rbp), %rax
	movq	_EI_OSABI@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	-84(%rbp), %edx                 ## 4-byte Reload
	movl	%edx, (%rax,%rcx,4)
	movq	%rbx, %rdi
	leaq	-80(%rbp), %rsi
	callq	_gelf_update_ehdr
	testq	%rax, %rax
	je	LBB0_43
## %bb.44:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	_ELF_C_WRITE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_elf_update
	cmpl	$-1, %eax
	jne	LBB0_48
## %bb.45:                              ##   in Loop: Header=BB0_24 Depth=1
	movl	$-1, %edi
	callq	_elf_errmsg
	leaq	L_.str.16(%rip), %rdi
	jmp	LBB0_46
	.p2align	4, 0x90
LBB0_30:                                ##   in Loop: Header=BB0_24 Depth=1
	movl	$-1, %edi
	callq	_elf_errmsg
	leaq	L_.str.8(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_warnx
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_49
LBB0_32:                                ##   in Loop: Header=BB0_24 Depth=1
	movq	(%r14,%r12,8), %rsi
	movq	_ELF_K_AR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_34
## %bb.33:                              ##   in Loop: Header=BB0_24 Depth=1
	leaq	L_.str.9(%rip), %rdi
	jmp	LBB0_47
LBB0_34:                                ##   in Loop: Header=BB0_24 Depth=1
	leaq	L_.str.10(%rip), %rdi
	jmp	LBB0_47
LBB0_36:                                ##   in Loop: Header=BB0_24 Depth=1
	movl	$-1, %edi
	callq	_elf_errmsg
	leaq	L_.str.11(%rip), %rdi
	jmp	LBB0_46
LBB0_38:                                ##   in Loop: Header=BB0_24 Depth=1
	movq	_stdout@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -88(%rbp)                 ## 4-byte Spill
	movq	(%r14,%r12,8), %rax
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movq	-80(%rbp), %rax
	movq	_EI_OSABI@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%rax,%rcx,4), %edi
	callq	_iselftype
	movq	-80(%rbp), %rcx
	movq	_EI_OSABI@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	movl	(%rcx,%rdx,4), %r8d
	movl	-88(%rbp), %edi                 ## 4-byte Reload
	leaq	L_.str.12(%rip), %rsi
	movq	-72(%rbp), %rdx                 ## 8-byte Reload
	movq	%rax, %rcx
	callq	_fprintf
	movl	-60(%rbp), %edi                 ## 4-byte Reload
	callq	_iselftype
	testq	%rax, %rax
	jne	LBB0_48
## %bb.39:                              ##   in Loop: Header=BB0_24 Depth=1
	leaq	L_.str.13(%rip), %rdi
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	xorl	%eax, %eax
	callq	_warnx
	xorl	%eax, %eax
	callq	_printelftypes
	jmp	LBB0_48
LBB0_41:                                ##   in Loop: Header=BB0_24 Depth=1
	movl	$-1, %edi
	callq	_elf_errmsg
	leaq	L_.str.14(%rip), %rdi
	jmp	LBB0_46
LBB0_43:                                ##   in Loop: Header=BB0_24 Depth=1
	movl	$-1, %edi
	callq	_elf_errmsg
	leaq	L_.str.15(%rip), %rdi
LBB0_46:                                ##   in Loop: Header=BB0_24 Depth=1
	movq	%rax, %rsi
LBB0_47:                                ##   in Loop: Header=BB0_24 Depth=1
	xorl	%eax, %eax
	callq	_warnx
	movl	$1, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_48:                                ##   in Loop: Header=BB0_24 Depth=1
	movq	%rbx, %rdi
	callq	_elf_end
LBB0_49:                                ##   in Loop: Header=BB0_24 Depth=1
	movl	%r13d, %edi
	callq	_close
	cmpl	$-1, %eax
	movl	%r15d, %ebx
	jne	LBB0_52
## %bb.50:                              ##   in Loop: Header=BB0_24 Depth=1
	movq	(%r14,%r12,8), %rsi
	leaq	L_.str.17(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_51
LBB0_6:
	cmpl	$0, -72(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_7
## %bb.22:
	leaq	L_.str.6(%rip), %rdi
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	callq	_warnx
	xorl	%eax, %eax
	callq	_usage
LBB0_53:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	xorl	%edi, %edi
	callq	_exit
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_21
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_9
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_16
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_17
	.long	L0_0_set_15
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.comm	_ELFOSABI_NONE,4,2              ## @ELFOSABI_NONE
	.comm	_EV_CURRENT,4,2                 ## @EV_CURRENT
	.comm	_EV_NONE,8,3                    ## @EV_NONE
	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"elf_version error"

L_.str.1:                               ## @.str.1
	.asciz	"Vf:hlt:v"

	.comm	_brandelf_longopts,4,2          ## @brandelf_longopts
L_.str.2:                               ## @.str.2
	.asciz	"ERROR: the -f option is incompatible with the -t option."

	.comm	_optarg,8,3                     ## @optarg
	.comm	_errno,4,2                      ## @errno
	.comm	_ERANGE,4,2                     ## @ERANGE
L_.str.3:                               ## @.str.3
	.asciz	"ERROR: invalid argument to option -f: %s"

L_.str.4:                               ## @.str.4
	.asciz	"the -t option is incompatible with the -f option."

L_.str.5:                               ## @.str.5
	.asciz	"ERROR: invalid ELF type '%s'"

	.comm	_optind,8,3                     ## @optind
L_.str.6:                               ## @.str.6
	.asciz	"no file(s) specified"

	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
L_.str.7:                               ## @.str.7
	.asciz	"error opening file %s"

	.comm	_ELF_C_RDWR,4,2                 ## @ELF_C_RDWR
	.comm	_ELF_C_READ,4,2                 ## @ELF_C_READ
L_.str.8:                               ## @.str.8
	.asciz	"elf_begin failed: %s"

	.comm	_ELF_K_ELF,8,3                  ## @ELF_K_ELF
	.comm	_ELF_K_AR,8,3                   ## @ELF_K_AR
L_.str.9:                               ## @.str.9
	.asciz	"file '%s' is an archive."

L_.str.10:                              ## @.str.10
	.asciz	"file '%s' is not an ELF file."

L_.str.11:                              ## @.str.11
	.asciz	"gelf_getehdr: %s"

	.comm	_stdout,4,2                     ## @stdout
L_.str.12:                              ## @.str.12
	.asciz	"File '%s' is of brand '%s' (%u).\n"

	.comm	_EI_OSABI,8,3                   ## @EI_OSABI
L_.str.13:                              ## @.str.13
	.asciz	"ELF ABI Brand '%u' is unknown"

	.comm	_ELF_C_SET,4,2                  ## @ELF_C_SET
	.comm	_ELF_F_LAYOUT,4,2               ## @ELF_F_LAYOUT
L_.str.14:                              ## @.str.14
	.asciz	"elf_flagelf failed: %s"

L_.str.15:                              ## @.str.15
	.asciz	"gelf_update_ehdr error: %s"

	.comm	_ELF_C_WRITE,4,2                ## @ELF_C_WRITE
L_.str.16:                              ## @.str.16
	.asciz	"elf_update error: %s"

L_.str.17:                              ## @.str.17
	.asciz	"%s: close error"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _ELFOSABI_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ELFOSABI_NONE@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x8, _EV_CURRENT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EV_CURRENT@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_elf_version
Lloh6:
	adrp	x8, _EV_NONE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EV_NONE@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
Lloh9:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str@PAGE
Lloh13:
	add	x1, x1, l_.str@PAGEOFF
	bl	_errx
LBB0_2:
	mov	w28, #0
	mov	w26, #0
	str	wzr, [sp, #20]                  ; 4-byte Folded Spill
Lloh14:
	adrp	x23, _brandelf_longopts@GOTPAGE
Lloh15:
	ldr	x23, [x23, _brandelf_longopts@GOTPAGEOFF]
Lloh16:
	adrp	x22, l_.str.1@PAGE
Lloh17:
	add	x22, x22, l_.str.1@PAGEOFF
Lloh18:
	adrp	x24, lJTI0_0@PAGE
Lloh19:
	add	x24, x24, lJTI0_0@PAGEOFF
Lloh20:
	adrp	x25, _optarg@GOTPAGE
Lloh21:
	ldr	x25, [x25, _optarg@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	bl	_printversion
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w3, [x23]
	mov	x0, x20
	mov	x1, x21
	mov	x2, x22
	mov	x4, #0
	bl	_getopt_long
	sub	w8, w0, #86
	cmp	w8, #32
	b.hi	LBB0_18
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	adr	x9, LBB0_3
	ldrb	w10, [x24, x8]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbz	w28, LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh22:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh23:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x1, l_.str.2@PAGE
Lloh26:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_errx
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x27, [x25]
	mov	x0, x27
	bl	_atoi
	mov	x19, x0
Lloh27:
	adrp	x8, _errno@GOTPAGE
Lloh28:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh29:
	ldr	w8, [x8]
Lloh30:
	adrp	x9, _ERANGE@GOTPAGE
Lloh31:
	ldr	x9, [x9, _ERANGE@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	tbnz	w19, #31, LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	w26, #1
	cmp	w19, #256
	b.lt	LBB0_4
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
	str	x27, [sp]
Lloh33:
	adrp	x0, l_.str.3@PAGE
Lloh34:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_warnx
	bl	_usage
	mov	w26, #1
	b	LBB0_4
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_usage
	b	LBB0_4
LBB0_13:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_printelftypes
	mov	w8, #1
	str	w8, [sp, #20]                   ; 4-byte Folded Spill
	b	LBB0_4
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	cbz	w26, LBB0_16
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
Lloh35:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh36:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh37:
	ldr	w0, [x8]
Lloh38:
	adrp	x1, l_.str.4@PAGE
Lloh39:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_errx
LBB0_16:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x0, [x25]
	bl	_elftype
	mov	x19, x0
	mov	w28, #1
	cmn	w0, #1
	b.ne	LBB0_4
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x25]
	str	x8, [sp]
Lloh40:
	adrp	x0, l_.str.5@PAGE
Lloh41:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_warnx
	bl	_usage
	mov	w28, #1
	mov	w19, #-1
	b	LBB0_4
LBB0_18:                                ;   in Loop: Header=BB0_4 Depth=1
	cmn	w0, #1
	b.eq	LBB0_20
LBB0_19:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_usage
	b	LBB0_4
LBB0_20:
Lloh42:
	adrp	x8, _optind@GOTPAGE
Lloh43:
	ldr	x8, [x8, _optind@GOTPAGEOFF]
Lloh44:
	ldr	x8, [x8]
	cmp	w20, w8
	b.eq	LBB0_48
; %bb.21:
	mov	w24, #0
	add	x25, x21, x8, lsl #3
	orr	w9, w28, w26
	cmp	w9, #0
	cset	w21, ne
	and	w9, w19, #0xff
	str	w9, [sp, #20]                   ; 4-byte Folded Spill
	sub	w22, w8, w20
Lloh45:
	adrp	x23, _O_RDWR@GOTPAGE
Lloh46:
	ldr	x23, [x23, _O_RDWR@GOTPAGEOFF]
Lloh47:
	adrp	x20, _O_RDONLY@GOTPAGE
Lloh48:
	ldr	x20, [x20, _O_RDONLY@GOTPAGEOFF]
Lloh49:
	adrp	x26, l_.str.7@PAGE
Lloh50:
	add	x26, x26, l_.str.7@PAGEOFF
	b	LBB0_25
LBB0_22:                                ;   in Loop: Header=BB0_25 Depth=1
	ldr	x1, [x25]
	mov	x0, x26
	bl	_warn
LBB0_23:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	w24, #1
LBB0_24:                                ;   in Loop: Header=BB0_25 Depth=1
	add	x25, x25, #8
	adds	w22, w22, #1
	b.hs	LBB0_50
LBB0_25:                                ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x25]
	cmp	w21, #0
	csel	x8, x23, x20, ne
	ldr	w1, [x8]
	mov	w2, #0
	bl	_open
	tbnz	w0, #31, LBB0_22
; %bb.26:                               ;   in Loop: Header=BB0_25 Depth=1
	mov	x28, x0
	cmp	w21, #0
Lloh51:
	adrp	x8, _ELF_C_RDWR@GOTPAGE
Lloh52:
	ldr	x8, [x8, _ELF_C_RDWR@GOTPAGEOFF]
Lloh53:
	adrp	x9, _ELF_C_READ@GOTPAGE
Lloh54:
	ldr	x9, [x9, _ELF_C_READ@GOTPAGEOFF]
	csel	x8, x8, x9, ne
	ldr	w1, [x8]
	mov	x2, #0
	bl	_elf_begin
	cbz	x0, LBB0_34
; %bb.27:                               ;   in Loop: Header=BB0_25 Depth=1
	mov	x27, x0
	bl	_elf_kind
Lloh55:
	adrp	x8, _ELF_K_ELF@GOTPAGE
Lloh56:
	ldr	x8, [x8, _ELF_K_ELF@GOTPAGEOFF]
Lloh57:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_35
; %bb.28:                               ;   in Loop: Header=BB0_25 Depth=1
	add	x1, sp, #24
	mov	x0, x27
	bl	_gelf_getehdr
	cbz	x0, LBB0_38
; %bb.29:                               ;   in Loop: Header=BB0_25 Depth=1
	tbz	w21, #0, LBB0_39
; %bb.30:                               ;   in Loop: Header=BB0_25 Depth=1
Lloh58:
	adrp	x8, _ELF_C_SET@GOTPAGE
Lloh59:
	ldr	x8, [x8, _ELF_C_SET@GOTPAGEOFF]
Lloh60:
	ldr	w1, [x8]
Lloh61:
	adrp	x8, _ELF_F_LAYOUT@GOTPAGE
Lloh62:
	ldr	x8, [x8, _ELF_F_LAYOUT@GOTPAGEOFF]
Lloh63:
	ldr	w2, [x8]
	mov	x0, x27
	bl	_elf_flagelf
	cbz	x0, LBB0_42
; %bb.31:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	x8, [sp, #24]
Lloh64:
	adrp	x9, _EI_OSABI@GOTPAGE
Lloh65:
	ldr	x9, [x9, _EI_OSABI@GOTPAGEOFF]
Lloh66:
	ldr	x9, [x9]
	ldr	w10, [sp, #20]                  ; 4-byte Folded Reload
	str	w10, [x8, x9, lsl #2]
	add	x1, sp, #24
	mov	x0, x27
	bl	_gelf_update_ehdr
	cbz	x0, LBB0_43
; %bb.32:                               ;   in Loop: Header=BB0_25 Depth=1
Lloh67:
	adrp	x8, _ELF_C_WRITE@GOTPAGE
Lloh68:
	ldr	x8, [x8, _ELF_C_WRITE@GOTPAGEOFF]
Lloh69:
	ldr	w1, [x8]
	mov	x0, x27
	bl	_elf_update
	cmn	w0, #1
	b.ne	LBB0_45
; %bb.33:                               ;   in Loop: Header=BB0_25 Depth=1
	bl	_elf_errmsg
	str	x0, [sp]
Lloh70:
	adrp	x0, l_.str.16@PAGE
Lloh71:
	add	x0, x0, l_.str.16@PAGEOFF
	b	LBB0_44
LBB0_34:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	w0, #-1
	bl	_elf_errmsg
	str	x0, [sp]
Lloh72:
	adrp	x0, l_.str.8@PAGE
Lloh73:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_warnx
	mov	w24, #1
	b	LBB0_46
LBB0_35:                                ;   in Loop: Header=BB0_25 Depth=1
Lloh74:
	adrp	x8, _ELF_K_AR@GOTPAGE
Lloh75:
	ldr	x8, [x8, _ELF_K_AR@GOTPAGEOFF]
Lloh76:
	ldr	x9, [x8]
	ldr	x8, [x25]
	cmp	x0, x9
	b.ne	LBB0_37
; %bb.36:                               ;   in Loop: Header=BB0_25 Depth=1
	str	x8, [sp]
Lloh77:
	adrp	x0, l_.str.9@PAGE
Lloh78:
	add	x0, x0, l_.str.9@PAGEOFF
	b	LBB0_44
LBB0_37:                                ;   in Loop: Header=BB0_25 Depth=1
	str	x8, [sp]
Lloh79:
	adrp	x0, l_.str.10@PAGE
Lloh80:
	add	x0, x0, l_.str.10@PAGEOFF
	b	LBB0_44
LBB0_38:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	w0, #-1
	bl	_elf_errmsg
	str	x0, [sp]
Lloh81:
	adrp	x0, l_.str.11@PAGE
Lloh82:
	add	x0, x0, l_.str.11@PAGEOFF
	b	LBB0_44
LBB0_39:                                ;   in Loop: Header=BB0_25 Depth=1
Lloh83:
	adrp	x8, _stdout@GOTPAGE
Lloh84:
	ldr	x8, [x8, _stdout@GOTPAGEOFF]
Lloh85:
	ldr	w23, [x8]
	ldr	x26, [x25]
	ldr	x8, [sp, #24]
Lloh86:
	adrp	x20, _EI_OSABI@GOTPAGE
Lloh87:
	ldr	x20, [x20, _EI_OSABI@GOTPAGEOFF]
	ldr	x9, [x20]
	ldr	w0, [x8, x9, lsl #2]
	bl	_iselftype
	mov	x3, x0
	ldr	x8, [sp, #24]
	ldr	x9, [x20]
	ldr	w4, [x8, x9, lsl #2]
	mov	x0, x23
Lloh88:
	adrp	x1, l_.str.12@PAGE
Lloh89:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x2, x26
	bl	_fprintf
	mov	x0, x19
	bl	_iselftype
	cbnz	x0, LBB0_41
; %bb.40:                               ;   in Loop: Header=BB0_25 Depth=1
	str	x19, [sp]
Lloh90:
	adrp	x0, l_.str.13@PAGE
Lloh91:
	add	x0, x0, l_.str.13@PAGEOFF
	bl	_warnx
	bl	_printelftypes
LBB0_41:                                ;   in Loop: Header=BB0_25 Depth=1
Lloh92:
	adrp	x23, _O_RDWR@GOTPAGE
Lloh93:
	ldr	x23, [x23, _O_RDWR@GOTPAGEOFF]
Lloh94:
	adrp	x20, _O_RDONLY@GOTPAGE
Lloh95:
	ldr	x20, [x20, _O_RDONLY@GOTPAGEOFF]
Lloh96:
	adrp	x26, l_.str.7@PAGE
Lloh97:
	add	x26, x26, l_.str.7@PAGEOFF
	b	LBB0_45
LBB0_42:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	w0, #-1
	bl	_elf_errmsg
	str	x0, [sp]
Lloh98:
	adrp	x0, l_.str.14@PAGE
Lloh99:
	add	x0, x0, l_.str.14@PAGEOFF
	b	LBB0_44
LBB0_43:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	w0, #-1
	bl	_elf_errmsg
	str	x0, [sp]
Lloh100:
	adrp	x0, l_.str.15@PAGE
Lloh101:
	add	x0, x0, l_.str.15@PAGEOFF
LBB0_44:                                ;   in Loop: Header=BB0_25 Depth=1
	bl	_warnx
	mov	w24, #1
LBB0_45:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	x0, x27
	bl	_elf_end
LBB0_46:                                ;   in Loop: Header=BB0_25 Depth=1
	mov	x0, x28
	bl	_close
	cmn	w0, #1
	b.ne	LBB0_24
; %bb.47:                               ;   in Loop: Header=BB0_25 Depth=1
	ldr	x8, [x25]
	str	x8, [sp]
Lloh102:
	adrp	x0, l_.str.17@PAGE
Lloh103:
	add	x0, x0, l_.str.17@PAGEOFF
	bl	_warnx
	b	LBB0_23
LBB0_48:
	ldr	w8, [sp, #20]                   ; 4-byte Folded Reload
	cbnz	w8, LBB0_51
; %bb.49:
Lloh104:
	adrp	x0, l_.str.6@PAGE
Lloh105:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_warnx
	bl	_usage
	mov	w24, #0
LBB0_50:
	mov	x0, x24
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
LBB0_51:
	mov	w0, #0
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGot	Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpLdrGot	Lloh53, Lloh54
	.loh AdrpLdrGot	Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpAdd	Lloh70, Lloh71
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpLdrGot	Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh83, Lloh84, Lloh85
	.loh AdrpAdd	Lloh90, Lloh91
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpLdrGot	Lloh94, Lloh95
	.loh AdrpLdrGot	Lloh92, Lloh93
	.loh AdrpAdd	Lloh98, Lloh99
	.loh AdrpAdd	Lloh100, Lloh101
	.loh AdrpAdd	Lloh102, Lloh103
	.loh AdrpAdd	Lloh104, Lloh105
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_3-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_6-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_12-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_13-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_14-LBB0_3)>>2
	.byte	(LBB0_19-LBB0_3)>>2
	.byte	(LBB0_4-LBB0_3)>>2
                                        ; -- End function
	.comm	_ELFOSABI_NONE,4,2              ; @ELFOSABI_NONE
	.comm	_EV_CURRENT,4,2                 ; @EV_CURRENT
	.comm	_EV_NONE,8,3                    ; @EV_NONE
	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"elf_version error"

l_.str.1:                               ; @.str.1
	.asciz	"Vf:hlt:v"

	.comm	_brandelf_longopts,4,2          ; @brandelf_longopts
l_.str.2:                               ; @.str.2
	.asciz	"ERROR: the -f option is incompatible with the -t option."

	.comm	_optarg,8,3                     ; @optarg
	.comm	_errno,4,2                      ; @errno
	.comm	_ERANGE,4,2                     ; @ERANGE
l_.str.3:                               ; @.str.3
	.asciz	"ERROR: invalid argument to option -f: %s"

l_.str.4:                               ; @.str.4
	.asciz	"the -t option is incompatible with the -f option."

l_.str.5:                               ; @.str.5
	.asciz	"ERROR: invalid ELF type '%s'"

	.comm	_optind,8,3                     ; @optind
l_.str.6:                               ; @.str.6
	.asciz	"no file(s) specified"

	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
l_.str.7:                               ; @.str.7
	.asciz	"error opening file %s"

	.comm	_ELF_C_RDWR,4,2                 ; @ELF_C_RDWR
	.comm	_ELF_C_READ,4,2                 ; @ELF_C_READ
l_.str.8:                               ; @.str.8
	.asciz	"elf_begin failed: %s"

	.comm	_ELF_K_ELF,8,3                  ; @ELF_K_ELF
	.comm	_ELF_K_AR,8,3                   ; @ELF_K_AR
l_.str.9:                               ; @.str.9
	.asciz	"file '%s' is an archive."

l_.str.10:                              ; @.str.10
	.asciz	"file '%s' is not an ELF file."

l_.str.11:                              ; @.str.11
	.asciz	"gelf_getehdr: %s"

	.comm	_stdout,4,2                     ; @stdout
l_.str.12:                              ; @.str.12
	.asciz	"File '%s' is of brand '%s' (%u).\n"

	.comm	_EI_OSABI,8,3                   ; @EI_OSABI
l_.str.13:                              ; @.str.13
	.asciz	"ELF ABI Brand '%u' is unknown"

	.comm	_ELF_C_SET,4,2                  ; @ELF_C_SET
	.comm	_ELF_F_LAYOUT,4,2               ; @ELF_F_LAYOUT
l_.str.14:                              ; @.str.14
	.asciz	"elf_flagelf failed: %s"

l_.str.15:                              ; @.str.15
	.asciz	"gelf_update_ehdr error: %s"

	.comm	_ELF_C_WRITE,4,2                ; @ELF_C_WRITE
l_.str.16:                              ; @.str.16
	.asciz	"elf_update error: %s"

l_.str.17:                              ; @.str.17
	.asciz	"%s: close error"

.subsections_via_symbols
