	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$2, %edi
	jl	LBB0_2
## %bb.1:
	movq	%rsi, %rbx
	movq	8(%rsi), %rax
	cmpb	$45, (%rax)
	jne	LBB0_4
LBB0_2:
	leaq	L_str(%rip), %rdi
	callq	_puts
LBB0_3:
	movq	_EXIT_SUCCESS@GOTPCREL(%rip), %rax
LBB0_27:
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	(%rbx), %rcx
	movq	_progname@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
	addq	$16, %rbx
	xorl	%r13d, %r13d
	movq	_O_RDWR@GOTPCREL(%rip), %r14
	leaq	-64(%rbp), %r15
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_5 Depth=1
	leaq	L_.str.1(%rip), %rdi
	callq	_ferr
	incl	%r13d
LBB0_24:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	(%rbx), %rax
	addq	$8, %rbx
	testq	%rax, %rax
	je	LBB0_25
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	_filename@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	-8(%rbx), %rdi
	movl	(%r14), %esi
	callq	_open
	testl	%eax, %eax
	js	LBB0_6
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%eax, %r12d
	movl	%eax, %edi
	movq	%r15, %rsi
	callq	_readelfheaderident
	cmpl	$128, %eax
	je	LBB0_15
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpl	$129, %eax
	jne	LBB0_22
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%r12d, %edi
	movq	%r15, %rsi
	callq	_readelfheader32
	testl	%eax, %eax
	je	LBB0_22
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%r12d, %edi
	movq	%r15, %rsi
	leaq	-56(%rbp), %rdx
	callq	_readphdrtable32
	testl	%eax, %eax
	je	LBB0_22
## %bb.11:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rsi
	movq	%r15, %rdi
	leaq	-48(%rbp), %rdx
	callq	_getmemorysize32
	testl	%eax, %eax
	je	LBB0_22
## %bb.12:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%r12d, %edi
	leaq	-48(%rbp), %rsi
	callq	_truncatezeros
	testl	%eax, %eax
	je	LBB0_22
## %bb.13:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rsi
	movq	-48(%rbp), %rdx
	movq	%r15, %rdi
	callq	_modifyheaders32
	testl	%eax, %eax
	je	LBB0_22
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rdx
	movq	-48(%rbp), %rcx
	movl	%r12d, %edi
	movq	%r15, %rsi
	callq	_commitchanges32
	testl	%eax, %eax
	jne	LBB0_23
	jmp	LBB0_22
	.p2align	4, 0x90
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%r12d, %edi
	movq	%r15, %rsi
	callq	_readelfheader64
	testl	%eax, %eax
	je	LBB0_22
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%r12d, %edi
	movq	%r15, %rsi
	leaq	-56(%rbp), %rdx
	callq	_readphdrtable64
	testl	%eax, %eax
	je	LBB0_22
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rsi
	movq	%r15, %rdi
	leaq	-48(%rbp), %rdx
	callq	_getmemorysize64
	testl	%eax, %eax
	je	LBB0_22
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	movl	%r12d, %edi
	leaq	-48(%rbp), %rsi
	callq	_truncatezeros
	testl	%eax, %eax
	je	LBB0_22
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rsi
	movq	-48(%rbp), %rdx
	movq	%r15, %rdi
	callq	_modifyheaders64
	testl	%eax, %eax
	je	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	-56(%rbp), %rdx
	movq	-48(%rbp), %rcx
	movl	%r12d, %edi
	movq	%r15, %rsi
	callq	_commitchanges64
	testl	%eax, %eax
	jne	LBB0_23
	.p2align	4, 0x90
LBB0_22:                                ##   in Loop: Header=BB0_5 Depth=1
	incl	%r13d
LBB0_23:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%r12d, %edi
	callq	_close
	jmp	LBB0_24
LBB0_25:
	testl	%r13d, %r13d
	je	LBB0_3
## %bb.26:
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_27
	.cfi_endproc
                                        ## -- End function
	.comm	_EXIT_SUCCESS,4,2               ## @EXIT_SUCCESS
	.comm	_progname,8,3                   ## @progname
	.comm	_filename,8,3                   ## @filename
	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"can't open"

	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
L_str:                                  ## @str
	.asciz	"Usage: sstrip FILE...\nsstrip discards all nonessential bytes from an executable.\n\nVersion 2.0-X Copyright (C) 2000,2001 Brian Raiter.\nCross-devel hacks Copyright (C) 2004 Manuel Novoa III.\nThis program is free software, licensed under the GNU\nGeneral Public License. There is absolutely no warranty."

.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, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	cmp	w0, #2
	b.lt	LBB0_2
; %bb.1:
	mov	x19, x1
	ldr	x8, [x1, #8]
	ldrb	w9, [x8]
	cmp	w9, #45
	b.ne	LBB0_3
LBB0_2:
Lloh0:
	adrp	x0, l_str@PAGE
Lloh1:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh2:
	adrp	x8, _EXIT_SUCCESS@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EXIT_SUCCESS@GOTPAGEOFF]
	b	LBB0_23
LBB0_3:
	mov	w22, #0
	ldr	x9, [x19], #16
Lloh4:
	adrp	x10, _progname@GOTPAGE
Lloh5:
	ldr	x10, [x10, _progname@GOTPAGEOFF]
Lloh6:
	str	x9, [x10]
Lloh7:
	adrp	x23, _filename@GOTPAGE
Lloh8:
	ldr	x23, [x23, _filename@GOTPAGEOFF]
Lloh9:
	adrp	x24, _O_RDWR@GOTPAGE
Lloh10:
	ldr	x24, [x24, _O_RDWR@GOTPAGEOFF]
Lloh11:
	adrp	x20, l_.str.1@PAGE
Lloh12:
	add	x20, x20, l_.str.1@PAGEOFF
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_ferr
	add	w22, w22, #1
	ldr	x8, [x19], #8
	cbz	x8, LBB0_22
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	str	x8, [x23]
	ldur	x0, [x19, #-8]
	ldr	w1, [x24]
	bl	_open
	tbnz	w0, #31, LBB0_4
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x21, x0
	add	x1, sp, #24
	bl	_readelfheaderident
	cmp	w0, #128
	b.eq	LBB0_14
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	cmp	w0, #129
	b.ne	LBB0_20
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #24
	mov	x0, x21
	bl	_readelfheader32
	cbz	w0, LBB0_20
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #24
	add	x2, sp, #16
	mov	x0, x21
	bl	_readphdrtable32
	cbz	w0, LBB0_20
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x1, [sp, #16]
	add	x0, sp, #24
	add	x2, sp, #8
	bl	_getmemorysize32
	cbz	w0, LBB0_20
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #8
	mov	x0, x21
	bl	_truncatezeros
	cbz	w0, LBB0_20
; %bb.12:                               ;   in Loop: Header=BB0_5 Depth=1
	ldp	x2, x1, [sp, #8]
	add	x0, sp, #24
	bl	_modifyheaders32
	cbz	w0, LBB0_20
; %bb.13:                               ;   in Loop: Header=BB0_5 Depth=1
	ldp	x3, x2, [sp, #8]
	add	x1, sp, #24
	mov	x0, x21
	bl	_commitchanges32
	cbnz	w0, LBB0_21
	b	LBB0_20
LBB0_14:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #24
	mov	x0, x21
	bl	_readelfheader64
	cbz	w0, LBB0_20
; %bb.15:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #24
	add	x2, sp, #16
	mov	x0, x21
	bl	_readphdrtable64
	cbz	w0, LBB0_20
; %bb.16:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	x1, [sp, #16]
	add	x0, sp, #24
	add	x2, sp, #8
	bl	_getmemorysize64
	cbz	w0, LBB0_20
; %bb.17:                               ;   in Loop: Header=BB0_5 Depth=1
	add	x1, sp, #8
	mov	x0, x21
	bl	_truncatezeros
	cbz	w0, LBB0_20
; %bb.18:                               ;   in Loop: Header=BB0_5 Depth=1
	ldp	x2, x1, [sp, #8]
	add	x0, sp, #24
	bl	_modifyheaders64
	cbz	w0, LBB0_20
; %bb.19:                               ;   in Loop: Header=BB0_5 Depth=1
	ldp	x3, x2, [sp, #8]
	add	x1, sp, #24
	mov	x0, x21
	bl	_commitchanges64
	cbnz	w0, LBB0_21
LBB0_20:                                ;   in Loop: Header=BB0_5 Depth=1
	add	w22, w22, #1
LBB0_21:                                ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x21
	bl	_close
	ldr	x8, [x19], #8
	cbnz	x8, LBB0_5
LBB0_22:
Lloh13:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh15:
	adrp	x9, _EXIT_SUCCESS@GOTPAGE
Lloh16:
	ldr	x9, [x9, _EXIT_SUCCESS@GOTPAGEOFF]
	cmp	w22, #0
	csel	x8, x9, x8, eq
LBB0_23:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_EXIT_SUCCESS,4,2               ; @EXIT_SUCCESS
	.comm	_progname,8,3                   ; @progname
	.comm	_filename,8,3                   ; @filename
	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"can't open"

	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
l_str:                                  ; @str
	.asciz	"Usage: sstrip FILE...\nsstrip discards all nonessential bytes from an executable.\n\nVersion 2.0-X Copyright (C) 2000,2001 Brian Raiter.\nCross-devel hacks Copyright (C) 2004 Manuel Novoa III.\nThis program is free software, licensed under the GNU\nGeneral Public License. There is absolutely no warranty."

.subsections_via_symbols
