	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rasm_asm
_rasm_asm:                              ## @rasm_asm
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r13d
	movl	%r8d, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movl	16(%rbp), %r15d
	movl	(%rdi), %edi
	movl	%edx, %esi
	callq	_r_asm_set_pc
	movl	(%r14), %edi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_r_asm_rasm_assemble
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	movq	%rax, %r15
	movl	(%rax), %ebx
	testl	%ebx, %ebx
	je	LBB0_6
## %bb.2:
	testl	%r13d, %r13d
	je	LBB0_7
## %bb.3:
	movq	8(%r15), %rsi
	movl	$1, %edi
	movl	%ebx, %edx
	callq	_write
	movl	%eax, %ebx
	cmpl	(%r15), %eax
	je	LBB0_10
## %bb.4:
	leaq	L_.str(%rip), %rdi
	callq	_eprintf
	movq	%r15, %rdi
	callq	_r_asm_code_free
LBB0_5:
	xorl	%eax, %eax
	jmp	LBB0_11
LBB0_6:
	xorl	%ebx, %ebx
	jmp	LBB0_10
LBB0_7:
	cmpl	$1, %r12d
	jne	LBB0_12
## %bb.8:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	cmpl	$-7, %ebx
	jge	LBB0_17
LBB0_9:
	movl	$10, %edi
	callq	_putchar
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
LBB0_10:
	movq	%r15, %rdi
	callq	_r_asm_code_free
	xorl	%eax, %eax
	testl	%ebx, %ebx
	setg	%al
LBB0_11:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	cmpl	$0, 24(%rbp)
	je	LBB0_28
## %bb.13:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	_R_SYS_ENDIAN@GOTPCREL(%rip), %r14
	leaq	L_.str.3(%rip), %r12
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	jmp	LBB0_15
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_15 Depth=1
	addq	$4, %rbx
	movslq	(%r15), %rax
	addq	$16, %r13
	cmpq	%rax, %rbx
	jae	LBB0_9
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rdi
	addq	%r13, %rdi
	movl	(%r14), %esi
	callq	_r_read_ble32
	movq	%r12, %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_printf
	cmpq	$28, %rbx
	jne	LBB0_14
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	movl	$10, %edi
	callq	_putchar
	jmp	LBB0_14
LBB0_17:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	leal	7(%rax), %r14d
	testl	%eax, %eax
	cmovnsl	%eax, %r14d
	sarl	$3, %r14d
	incl	%r14d
	xorl	%ebx, %ebx
	movl	%eax, %r13d
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_18:                                ##   in Loop: Header=BB0_19 Depth=1
	incq	%rbx
	movl	%r12d, %r13d
	cmpq	%rbx, %r14
	je	LBB0_9
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movl	$-1, %r12d
	testl	%r13d, %r13d
	je	LBB0_18
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %edi
	andl	$1, %edi
	orl	$48, %edi
	callq	_putchar
	cmpl	$1, %r13d
	je	LBB0_18
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %eax
	andl	$2, %eax
	cmpl	$1, %eax
	movl	$49, %edi
	sbbl	$0, %edi
	callq	_putchar
	cmpl	$2, %r13d
	je	LBB0_18
## %bb.22:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %eax
	andl	$4, %eax
	cmpl	$1, %eax
	movl	$49, %edi
	sbbl	$0, %edi
	callq	_putchar
	cmpl	$3, %r13d
	je	LBB0_18
## %bb.23:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %eax
	andl	$8, %eax
	cmpl	$1, %eax
	movl	$49, %edi
	sbbl	$0, %edi
	callq	_putchar
	cmpl	$4, %r13d
	je	LBB0_18
## %bb.24:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %eax
	andl	$16, %eax
	cmpl	$1, %eax
	movl	$49, %edi
	sbbl	$0, %edi
	callq	_putchar
	cmpl	$5, %r13d
	je	LBB0_18
## %bb.25:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %eax
	andl	$32, %eax
	cmpl	$1, %eax
	movl	$49, %edi
	sbbl	$0, %edi
	callq	_putchar
	cmpl	$6, %r13d
	je	LBB0_18
## %bb.26:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %eax
	andl	$64, %eax
	cmpl	$1, %eax
	movl	$49, %edi
	sbbl	$0, %edi
	callq	_putchar
	cmpl	$7, %r13d
	je	LBB0_18
## %bb.27:                              ##   in Loop: Header=BB0_19 Depth=1
	addl	$-8, %r13d
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %eax
	movl	$128, %ecx
	andl	%ecx, %eax
	cmpl	$1, %eax
	movl	$49, %edi
	sbbl	$0, %edi
	callq	_putchar
	movl	%r13d, %r12d
	jmp	LBB0_18
LBB0_28:
	movq	%r15, %rdi
	callq	_r_asm_code_get_hex
	testq	%rax, %rax
	je	LBB0_10
## %bb.29:
	movq	%rax, %r12
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_print_buf
	movq	%r12, %rdi
	callq	_free
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Failed to write buffer\n"

	.comm	_R_SYS_ENDIAN,4,2               ## @R_SYS_ENDIAN
L_.str.3:                               ## @.str.3
	.asciz	"0x%08x "

	.no_dead_strip	_rasm_asm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rasm_asm
_rasm_asm:                              ; @rasm_asm
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x22, x7
	mov	x19, x6
	mov	x24, x5
	mov	x23, x4
	mov	x20, x1
	mov	x21, x0
	ldr	w0, [x0]
	mov	x1, x2
	bl	_r_asm_set_pc
	ldr	w0, [x21]
	mov	x1, x20
	mov	x2, x19
	bl	_r_asm_rasm_assemble
	cbz	x0, LBB0_9
; %bb.1:
	mov	x19, x0
	ldr	w20, [x0]
	cbz	w20, LBB0_8
; %bb.2:
	cbz	w24, LBB0_5
; %bb.3:
	ldr	x1, [x19, #8]
	mov	w0, #1
	mov	x2, x20
	bl	_write
	mov	x20, x0
	ldr	w8, [x19]
	cmp	w0, w8
	b.eq	LBB0_8
; %bb.4:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_eprintf
	mov	x0, x19
	bl	_r_asm_code_free
	mov	w0, #0
	b	LBB0_9
LBB0_5:
	cmp	w23, #1
	b.ne	LBB0_10
; %bb.6:
	cmn	w20, #7
	b.ge	LBB0_15
LBB0_7:
	mov	w0, #10
	bl	_putchar
LBB0_8:
	mov	x0, x19
	bl	_r_asm_code_free
	cmp	w20, #0
	cset	w0, gt
LBB0_9:
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_10:
	cbz	w22, LBB0_27
; %bb.11:
	mov	x22, #0
	mov	x23, #0
Lloh2:
	adrp	x24, _R_SYS_ENDIAN@GOTPAGE
Lloh3:
	ldr	x24, [x24, _R_SYS_ENDIAN@GOTPAGEOFF]
Lloh4:
	adrp	x21, l_.str.3@PAGE
Lloh5:
	add	x21, x21, l_.str.3@PAGEOFF
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x23, x23, #4
	ldrsw	x8, [x19]
	add	x22, x22, #16
	cmp	x23, x8
	b.hs	LBB0_7
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	add	x0, x8, x22
	ldr	w1, [x24]
	bl	_r_read_ble32
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
	mov	x0, x21
	bl	_printf
	cmp	x23, #28
	b.ne	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	w0, #10
	bl	_putchar
	b	LBB0_12
LBB0_15:
	mov	x21, #0
	add	w8, w20, #7
	cmp	w20, #0
	csel	w8, w8, w20, lt
	asr	w8, w8, #3
	add	w22, w8, #1
	mov	w23, #48
	mov	x24, x20
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	cbz	w24, LBB0_24
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x19, #8]
	ldr	w8, [x8, x21, lsl #2]
	mov	w0, #48
	bfxil	w0, w8, #0, #1
	bl	_putchar
	cmp	w24, #1
	b.eq	LBB0_24
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x19, #8]
	ldr	w8, [x8, x21, lsl #2]
	tst	w8, #0x2
	cinc	w0, w23, ne
	bl	_putchar
	cmp	w24, #2
	b.eq	LBB0_24
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x19, #8]
	ldr	w8, [x8, x21, lsl #2]
	tst	w8, #0x4
	cinc	w0, w23, ne
	bl	_putchar
	cmp	w24, #3
	b.eq	LBB0_24
; %bb.20:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x19, #8]
	ldr	w8, [x8, x21, lsl #2]
	tst	w8, #0x8
	cinc	w0, w23, ne
	bl	_putchar
	cmp	w24, #4
	b.eq	LBB0_24
; %bb.21:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x19, #8]
	ldr	w8, [x8, x21, lsl #2]
	tst	w8, #0x10
	cinc	w0, w23, ne
	bl	_putchar
	cmp	w24, #5
	b.eq	LBB0_24
; %bb.22:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x19, #8]
	ldr	w8, [x8, x21, lsl #2]
	tst	w8, #0x20
	cinc	w0, w23, ne
	bl	_putchar
	cmp	w24, #6
	b.eq	LBB0_24
; %bb.23:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x19, #8]
	ldr	w8, [x8, x21, lsl #2]
	tst	w8, #0x40
	cinc	w0, w23, ne
	bl	_putchar
	cmp	w24, #7
	b.ne	LBB0_26
LBB0_24:                                ;   in Loop: Header=BB0_16 Depth=1
	mov	w24, #-1
LBB0_25:                                ;   in Loop: Header=BB0_16 Depth=1
	add	x21, x21, #1
	cmp	x22, x21
	b.ne	LBB0_16
	b	LBB0_7
LBB0_26:                                ;   in Loop: Header=BB0_16 Depth=1
	sub	w24, w24, #8
	ldr	x8, [x19, #8]
	ldr	w8, [x8, x21, lsl #2]
	tst	w8, #0x80
	cinc	w0, w23, ne
	bl	_putchar
	b	LBB0_25
LBB0_27:
	mov	x0, x19
	bl	_r_asm_code_get_hex
	cbz	x0, LBB0_8
; %bb.28:
	mov	x22, x0
	mov	x0, x21
	mov	x1, x22
	bl	_print_buf
	mov	x0, x22
	bl	_free
	b	LBB0_8
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Failed to write buffer\n"

	.comm	_R_SYS_ENDIAN,4,2               ; @R_SYS_ENDIAN
l_.str.3:                               ; @.str.3
	.asciz	"0x%08x "

	.no_dead_strip	_rasm_asm
.subsections_via_symbols
