	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function assemble
_assemble:                              ## @assemble
	.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	$2088, %rsp                     ## imm = 0x828
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	leaq	L_.str.1(%rip), %rdi
	leaq	-2112(%rbp), %rsi
	callq	_r_file_mkstemp
	movl	$-1, %r12d
	cmpl	$-1, %eax
	je	LBB0_14
## %bb.1:
	movl	%eax, %r15d
	leaq	L_.str.1(%rip), %rdi
	leaq	-2104(%rbp), %rsi
	callq	_r_file_mkstemp
	movl	%eax, -2116(%rbp)               ## 4-byte Spill
	cmpl	$-1, %eax
	je	LBB0_2
## %bb.3:
	movq	%rbx, -2128(%rbp)               ## 8-byte Spill
	movq	(%r14), %rax
	movq	_R_ASM_SYNTAX_INTEL@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	leaq	L_.str.2(%rip), %rcx
	leaq	L_.str(%rip), %rdx
	cmoveq	%rcx, %rdx
	movq	_R_ASM_SYNTAX_ATT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	leaq	L_.str.3(%rip), %rsi
	cmovneq	%rdx, %rsi
	movl	8(%r14), %edx
	leaq	L_.str.4(%rip), %rdi
	movq	%r13, %rcx
	callq	_r_str_newf
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_strlen
	movl	%r15d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_write
	movl	%r15d, %edi
	callq	_close
	movq	%rbx, %rdi
	callq	_free
	movq	-2112(%rbp), %rsi
	movq	-2104(%rbp), %rdx
	leaq	L_.str.5(%rip), %rdi
	callq	_r_sys_cmdf
	testl	%eax, %eax
	je	LBB0_4
## %bb.12:
	movq	-2112(%rbp), %rsi
	movq	-2104(%rbp), %rdx
	leaq	L_.str.9(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_eprintf
	movq	-2128(%rbp), %rbx               ## 8-byte Reload
	movl	-2116(%rbp), %r13d              ## 4-byte Reload
LBB0_13:
	movl	%r13d, %edi
	callq	_close
	movq	-2112(%rbp), %rdi
	callq	_unlink
	movq	-2104(%rbp), %rdi
	callq	_unlink
	movq	-2112(%rbp), %rdi
	callq	_free
	movq	-2104(%rbp), %rdi
	callq	_free
	movl	%r12d, (%rbx)
	jmp	LBB0_14
LBB0_2:
	movq	-2112(%rbp), %rdi
	callq	_free
	movl	%r15d, %edi
	callq	_close
LBB0_14:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_16
## %bb.15:
	movl	%r12d, %eax
	addq	$2088, %rsp                     ## imm = 0x828
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movl	-2116(%rbp), %edi               ## 4-byte Reload
	callq	_close
	movq	-2104(%rbp), %rdi
	movq	_O_BINARY@GOTPCREL(%rip), %rax
	movq	_O_RDONLY@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	orl	(%rax), %esi
	movl	$420, %edx                      ## imm = 0x1A4
	callq	_r_sandbox_open
	testl	%eax, %eax
	js	LBB0_5
## %bb.6:
	movl	%eax, %r13d
	leaq	-2096(%rbp), %r14
	movl	$2048, %esi                     ## imm = 0x800
	movq	%r14, %rdi
	callq	___bzero
	movl	%r13d, %edi
	movq	%r14, %rsi
	movl	$2048, %edx                     ## imm = 0x800
	callq	_read
	movl	%eax, %ebx
	leaq	L_.str.6(%rip), %rdx
	movq	%r14, %rdi
	movl	%eax, %esi
	movl	$9, %ecx
	callq	_r_mem_mem
	movq	%rax, %r15
	leaq	L_.str.7(%rip), %rdx
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	$7, %ecx
	callq	_r_mem_mem
	testq	%r15, %r15
	je	LBB0_8
## %bb.7:
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:
	subq	%r15, %r12
	shrq	$2, %r12
	addl	$-9, %r12d
	testl	%r12d, %r12d
	movq	-2128(%rbp), %rbx               ## 8-byte Reload
	jle	LBB0_10
## %bb.11:
	addq	$36, %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r12d, %edx
	callq	_r_asm_op_set_buf
	jmp	LBB0_13
LBB0_5:
	movq	-2112(%rbp), %rdi
	callq	_free
	movq	-2104(%rbp), %rdi
	callq	_free
	jmp	LBB0_14
LBB0_8:
	leaq	L_.str.8(%rip), %rdi
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_eprintf
	movq	-2128(%rbp), %rbx               ## 8-byte Reload
	jmp	LBB0_13
LBB0_10:
	xorl	%r12d, %r12d
	jmp	LBB0_13
LBB0_16:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.space	1

L_.str.1:                               ## @.str.1
	.asciz	"r_as"

	.comm	_R_ASM_SYNTAX_INTEL,8,3         ## @R_ASM_SYNTAX_INTEL
L_.str.2:                               ## @.str.2
	.asciz	".intel_syntax noprefix\n"

	.comm	_R_ASM_SYNTAX_ATT,8,3           ## @R_ASM_SYNTAX_ATT
L_.str.3:                               ## @.str.3
	.asciz	".att_syntax\n"

L_.str.4:                               ## @.str.4
	.asciz	"%s.code%i\n.ascii \"BEGINMARK\"\n%s\n.ascii \"ENDMARK\"\n"

L_.str.5:                               ## @.str.5
	.asciz	"as %s -o %s"

	.comm	_O_BINARY,4,2                   ## @O_BINARY
	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
L_.str.6:                               ## @.str.6
	.asciz	"BEGINMARK"

L_.str.7:                               ## @.str.7
	.asciz	"ENDMARK"

L_.str.8:                               ## @.str.8
	.asciz	"Cannot find water marks\n"

L_.str.9:                               ## @.str.9
	.asciz	"Error running: as %s -o %s"

	.no_dead_strip	_assemble
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function assemble
_assemble:                              ; @assemble
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	sub	sp, sp, #2096
	mov	x22, x2
	mov	x19, x1
	mov	x23, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x1, sp, #32
	bl	_r_file_mkstemp
	mov	x21, x0
	cmn	w0, #1
	b.eq	LBB0_9
; %bb.1:
Lloh5:
	adrp	x0, l_.str.1@PAGE
Lloh6:
	add	x0, x0, l_.str.1@PAGEOFF
	add	x1, sp, #24
	bl	_r_file_mkstemp
	cmn	w0, #1
	b.eq	LBB0_7
; %bb.2:
	mov	x20, x0
	ldr	x8, [x23]
Lloh7:
	adrp	x9, _R_ASM_SYNTAX_INTEL@GOTPAGE
Lloh8:
	ldr	x9, [x9, _R_ASM_SYNTAX_INTEL@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
Lloh10:
	adrp	x10, l_.str@PAGE
Lloh11:
	add	x10, x10, l_.str@PAGEOFF
Lloh12:
	adrp	x11, l_.str.2@PAGE
Lloh13:
	add	x11, x11, l_.str.2@PAGEOFF
	cmp	x8, x9
	csel	x9, x11, x10, eq
Lloh14:
	adrp	x10, _R_ASM_SYNTAX_ATT@GOTPAGE
Lloh15:
	ldr	x10, [x10, _R_ASM_SYNTAX_ATT@GOTPAGEOFF]
Lloh16:
	ldr	x10, [x10]
Lloh17:
	adrp	x11, l_.str.3@PAGE
Lloh18:
	add	x11, x11, l_.str.3@PAGEOFF
	cmp	x8, x10
	csel	x1, x11, x9, eq
	ldr	w2, [x23, #8]
Lloh19:
	adrp	x0, l_.str.4@PAGE
Lloh20:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x3, x22
	bl	_r_str_newf
	mov	x22, x0
	bl	_strlen
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	bl	_write
	mov	x0, x21
	bl	_close
	mov	x0, x22
	bl	_free
	ldp	x2, x1, [sp, #24]
Lloh21:
	adrp	x0, l_.str.5@PAGE
Lloh22:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_r_sys_cmdf
	cbz	w0, LBB0_11
; %bb.3:
	ldp	x9, x8, [sp, #24]
	stp	x8, x9, [sp]
Lloh23:
	adrp	x0, l_.str.9@PAGE
Lloh24:
	add	x0, x0, l_.str.9@PAGEOFF
LBB0_4:
	bl	_eprintf
LBB0_5:
	mov	w21, #0
LBB0_6:
	mov	x0, x20
	bl	_close
	ldr	x0, [sp, #32]
	bl	_unlink
	ldr	x0, [sp, #24]
	bl	_unlink
	ldr	x0, [sp, #32]
	bl	_free
	ldr	x0, [sp, #24]
	bl	_free
	str	w21, [x19]
	b	LBB0_9
LBB0_7:
	ldr	x0, [sp, #32]
	bl	_free
	mov	x0, x21
	bl	_close
LBB0_8:
	mov	w21, #-1
LBB0_9:
	ldur	x8, [x29, #-56]
Lloh25:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh26:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh27:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_18
; %bb.10:
	mov	x0, x21
	add	sp, sp, #2096
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_11:
	mov	x0, x20
	bl	_close
Lloh28:
	adrp	x8, _O_BINARY@GOTPAGE
Lloh29:
	ldr	x8, [x8, _O_BINARY@GOTPAGEOFF]
	ldr	x0, [sp, #24]
Lloh30:
	ldr	w8, [x8]
Lloh31:
	adrp	x9, _O_RDONLY@GOTPAGE
Lloh32:
	ldr	x9, [x9, _O_RDONLY@GOTPAGEOFF]
Lloh33:
	ldr	w9, [x9]
	orr	w1, w9, w8
	mov	w2, #420
	bl	_r_sandbox_open
	tbnz	w0, #31, LBB0_16
; %bb.12:
	mov	x20, x0
	add	x0, sp, #40
	mov	w1, #2048
	bl	_bzero
	add	x1, sp, #40
	mov	x0, x20
	mov	w2, #2048
	bl	_read
	mov	x21, x0
Lloh34:
	adrp	x2, l_.str.6@PAGE
Lloh35:
	add	x2, x2, l_.str.6@PAGEOFF
	add	x0, sp, #40
	mov	x1, x21
	mov	w3, #9
	bl	_r_mem_mem
	mov	x22, x0
Lloh36:
	adrp	x2, l_.str.7@PAGE
Lloh37:
	add	x2, x2, l_.str.7@PAGEOFF
	add	x0, sp, #40
	mov	x1, x21
	mov	w3, #7
	bl	_r_mem_mem
	cbz	x22, LBB0_17
; %bb.13:
	cbz	x0, LBB0_17
; %bb.14:
	sub	x8, x0, x22
	lsr	x8, x8, #2
	sub	w21, w8, #9
	cmp	w21, #1
	b.lt	LBB0_5
; %bb.15:
	add	x1, x22, #36
	mov	x0, x19
	mov	x2, x21
	bl	_r_asm_op_set_buf
	b	LBB0_6
LBB0_16:
	ldr	x0, [sp, #32]
	bl	_free
	ldr	x0, [sp, #24]
	bl	_free
	b	LBB0_8
LBB0_17:
Lloh38:
	adrp	x0, l_.str.8@PAGE
Lloh39:
	add	x0, x0, l_.str.8@PAGEOFF
	b	LBB0_4
LBB0_18:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh36, Lloh37
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpAdd	Lloh38, Lloh39
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.space	1

l_.str.1:                               ; @.str.1
	.asciz	"r_as"

	.comm	_R_ASM_SYNTAX_INTEL,8,3         ; @R_ASM_SYNTAX_INTEL
l_.str.2:                               ; @.str.2
	.asciz	".intel_syntax noprefix\n"

	.comm	_R_ASM_SYNTAX_ATT,8,3           ; @R_ASM_SYNTAX_ATT
l_.str.3:                               ; @.str.3
	.asciz	".att_syntax\n"

l_.str.4:                               ; @.str.4
	.asciz	"%s.code%i\n.ascii \"BEGINMARK\"\n%s\n.ascii \"ENDMARK\"\n"

l_.str.5:                               ; @.str.5
	.asciz	"as %s -o %s"

	.comm	_O_BINARY,4,2                   ; @O_BINARY
	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
l_.str.6:                               ; @.str.6
	.asciz	"BEGINMARK"

l_.str.7:                               ; @.str.7
	.asciz	"ENDMARK"

l_.str.8:                               ; @.str.8
	.asciz	"Cannot find water marks\n"

l_.str.9:                               ; @.str.9
	.asciz	"Error running: as %s -o %s"

	.no_dead_strip	_assemble
.subsections_via_symbols
