	.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	%r12
	pushq	%rbx
	subq	$48, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rax
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -40(%rbp)
	movl	(%rdi), %r12d
	cmpl	$64, %r12d
	jne	LBB0_3
## %bb.1:
	movl	16(%rbx), %esi
	leaq	-68(%rbp), %rdx
	movq	%rax, %rdi
	callq	_arm64ass
	testl	%eax, %eax
	je	LBB0_2
## %bb.6:
	movl	-68(%rbp), %eax
	jmp	LBB0_7
LBB0_3:
	xorl	%edx, %edx
	cmpl	$16, %r12d
	sete	%dl
	movl	16(%rbx), %esi
	movq	%rax, %rdi
	callq	_armass_assemble
	movl	%eax, -68(%rbp)
	movl	(%rbx), %ecx
	cmpl	$16, %ecx
	je	LBB0_7
## %bb.4:
	cmpl	$32, %ecx
	jne	LBB0_5
LBB0_7:
	movq	_UT32_MAX@GOTPCREL(%rip), %rcx
	movl	$-1, %r15d
	cmpl	(%rcx), %eax
	je	LBB0_20
## %bb.8:
	cmpl	$16, %r12d
	jne	LBB0_15
## %bb.9:
	movq	8(%rbx), %rcx
	cmpl	$65536, %eax                    ## imm = 0x10000
	jl	LBB0_12
## %bb.10:
	testq	%rcx, %rcx
	je	LBB0_17
## %bb.11:
	sarl	$16, %eax
	leaq	-64(%rbp), %rdi
	movl	%eax, %esi
	callq	_r_write_le16
	leaq	-56(%rbp), %rdi
	movq	_UT16_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	andl	-68(%rbp), %esi
	callq	_r_write_le16
	jmp	LBB0_18
LBB0_2:
	movl	$-1, %r15d
	jmp	LBB0_20
LBB0_5:
	leaq	L_.str(%rip), %rdi
	callq	_eprintf
	movl	$-1, %r15d
	jmp	LBB0_20
LBB0_15:
	cmpq	$0, 8(%rbx)
	je	LBB0_17
## %bb.16:
	leaq	-64(%rbp), %rdi
	movl	%eax, %esi
	callq	_r_write_le32
	jmp	LBB0_18
LBB0_17:
	leaq	-64(%rbp), %rdi
	movl	%eax, %esi
	callq	_r_write_be32
LBB0_18:
	movl	$4, %r15d
LBB0_19:
	leaq	-64(%rbp), %rsi
	movq	%r14, %rdi
	movl	%r15d, %edx
	callq	_r_strbuf_setbin
LBB0_20:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_22
## %bb.21:
	movl	%r15d, %eax
	addq	$48, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movq	_UT16_MAX@GOTPCREL(%rip), %rdx
	andl	(%rdx), %eax
	leaq	-64(%rbp), %rdi
	movl	%eax, %esi
	testq	%rcx, %rcx
	je	LBB0_14
## %bb.13:
	callq	_r_write_le16
	movl	$2, %r15d
	jmp	LBB0_19
LBB0_14:
	callq	_r_write_be16
	movl	$2, %r15d
	jmp	LBB0_19
LBB0_22:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Error: ARM assembler only supports 16 or 32 bits\n"

	.comm	_UT32_MAX,4,2                   ## @UT32_MAX
	.comm	_UT16_MAX,4,2                   ## @UT16_MAX
	.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:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x8, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	str	x9, [sp, #24]
	ldr	w21, [x0]
	cmp	w21, #64
	b.ne	LBB0_3
; %bb.1:
	ldr	w1, [x20, #16]
	add	x2, sp, #4
	mov	x0, x8
	bl	_arm64ass
	cbz	w0, LBB0_6
; %bb.2:
	ldr	w1, [sp, #4]
	b	LBB0_5
LBB0_3:
	cmp	w21, #16
	cset	w2, eq
	ldr	w1, [x20, #16]
	mov	x0, x8
	bl	_armass_assemble
	mov	x1, x0
	str	w0, [sp, #4]
	ldr	w8, [x20]
	cmp	w8, #16
	b.eq	LBB0_5
; %bb.4:
	cmp	w8, #32
	b.ne	LBB0_11
LBB0_5:
Lloh3:
	adrp	x8, _UT32_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _UT32_MAX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w1, w8
	b.ne	LBB0_7
LBB0_6:
	mov	w20, #-1
	b	LBB0_17
LBB0_7:
	cmp	w21, #16
	b.ne	LBB0_12
; %bb.8:
	ldr	x8, [x20, #8]
	cmp	w1, #16, lsl #12                ; =65536
	b.lt	LBB0_19
; %bb.9:
	cbz	x8, LBB0_14
; %bb.10:
	asr	w1, w1, #16
	add	x20, sp, #8
	add	x0, sp, #8
	bl	_r_write_le16
	add	x0, x20, #8
	ldr	w8, [sp, #4]
Lloh6:
	adrp	x9, _UT16_MAX@GOTPAGE
Lloh7:
	ldr	x9, [x9, _UT16_MAX@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	and	w1, w9, w8
	bl	_r_write_le16
	b	LBB0_15
LBB0_11:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_eprintf
	mov	w20, #-1
	b	LBB0_17
LBB0_12:
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_14
; %bb.13:
	add	x0, sp, #8
	bl	_r_write_le32
	b	LBB0_15
LBB0_14:
	add	x0, sp, #8
	bl	_r_write_be32
LBB0_15:
	mov	w20, #4
LBB0_16:
	add	x1, sp, #8
	mov	x0, x19
	mov	x2, x20
	bl	_r_strbuf_setbin
LBB0_17:
	ldr	x8, [sp, #24]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_22
; %bb.18:
	mov	x0, x20
	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
	add	sp, sp, #80
	ret
LBB0_19:
Lloh14:
	adrp	x9, _UT16_MAX@GOTPAGE
Lloh15:
	ldr	x9, [x9, _UT16_MAX@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	and	w1, w9, w1
	add	x0, sp, #8
	cbz	x8, LBB0_21
; %bb.20:
	bl	_r_write_le16
	mov	w20, #2
	b	LBB0_16
LBB0_21:
	bl	_r_write_be16
	mov	w20, #2
	b	LBB0_16
LBB0_22:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Error: ARM assembler only supports 16 or 32 bits\n"

	.comm	_UT32_MAX,4,2                   ; @UT32_MAX
	.comm	_UT16_MAX,4,2                   ; @UT16_MAX
	.no_dead_strip	_assemble
.subsections_via_symbols
