	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_md_assemble                    ## -- Begin function md_assemble
	.p2align	4, 0x90
_md_assemble:                           ## @md_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	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	callq	_reset_vars
	movb	(%r14), %al
	movq	%r14, %rbx
	testb	%al, %al
	je	LBB0_4
## %bb.1:
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	%al, %edi
	callq	_ISSPACE
	testl	%eax, %eax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movzbl	1(%rbx), %eax
	incq	%rbx
	testb	%al, %al
	jne	LBB0_2
LBB0_4:
	movb	$0, (%rbx)
	incq	%rbx
	movq	%r14, %rdi
	callq	_is_bcc_insn
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	-64(%rbp), %r15
	movq	%r14, %rdi
	callq	_get_b_cc
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_strcpy
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_strcat
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_strcat
	leaq	L_.str(%rip), %r14
	movq	%r15, %rbx
LBB0_6:
	leaq	L_.str.2(%rip), %rdi
	movq	%r14, %rsi
	callq	_streq
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movq	%rbx, %rdi
	callq	_check_cinv_options
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_strcat
LBB0_8:
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rsi
	callq	_streq
	testq	%rax, %rax
	jne	LBB0_11
## %bb.9:
	leaq	L_.str.4(%rip), %rdi
	movq	%r14, %rsi
	callq	_streq
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	leaq	L_.str.5(%rip), %rdi
	movq	%r14, %rsi
	callq	_streq
	testq	%rax, %rax
	je	LBB0_17
LBB0_11:
	cmpb	$36, (%rbx)
	jne	LBB0_17
## %bb.12:
	leaq	-64(%rbp), %r15
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_strcpy
	movq	_cr16_inst_hash@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_hash_find
	movq	_instruction@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	leaq	-72(%rbp), %rdi
	movq	%r15, %rsi
	callq	_parse_operands
	movq	-72(%rbp), %rax
	movq	(%rax), %rcx
	movq	_arg_ic@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rcx
	jne	LBB0_17
## %bb.13:
	cmpq	$0, 8(%rax)
	js	LBB0_17
## %bb.14:
	leaq	L_.str.3(%rip), %rdi
	movq	%r14, %rsi
	callq	_streq
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	leaq	L_.str.6(%rip), %r14
	jmp	LBB0_17
LBB0_16:
	leaq	L_.str.5(%rip), %rdi
	movq	%r14, %rsi
	callq	_streq
	testq	%rax, %rax
	leaq	L_.str.8(%rip), %rax
	leaq	L_.str.7(%rip), %r14
	cmoveq	%rax, %r14
LBB0_17:
	movq	_cr16_inst_hash@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_hash_find
	movq	_instruction@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	testq	%rax, %rax
	je	LBB0_18
## %bb.19:
	xorl	%edi, %edi
	callq	_dwarf2_emit_insn
	leaq	-72(%rbp), %r15
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_parse_insn
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_assemble_insn
	testq	%rax, %rax
	je	LBB0_21
## %bb.20:
	leaq	-72(%rbp), %rdi
	callq	_print_insn
	jmp	LBB0_21
LBB0_18:
	leaq	L_.str.9(%rip), %rdi
	callq	__
	movl	%eax, %edi
	movq	%r14, %rsi
	callq	_as_bad
LBB0_21:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_23
## %bb.22:
	addq	$56, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"b"

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

L_.str.2:                               ## @.str.2
	.asciz	"cinv"

L_.str.3:                               ## @.str.3
	.asciz	"lshb"

L_.str.4:                               ## @.str.4
	.asciz	"lshw"

L_.str.5:                               ## @.str.5
	.asciz	"lshd"

	.comm	_cr16_inst_hash,4,2             ## @cr16_inst_hash
	.comm	_instruction,8,3                ## @instruction
	.comm	_arg_ic,8,3                     ## @arg_ic
L_.str.6:                               ## @.str.6
	.asciz	"ashub"

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

L_.str.8:                               ## @.str.8
	.asciz	"ashuw"

L_.str.9:                               ## @.str.9
	.asciz	"Unknown opcode: `%s'"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_md_assemble                    ; -- Begin function md_assemble
	.p2align	2
_md_assemble:                           ; @md_assemble
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	bl	_reset_vars
	ldrb	w8, [x19]
	mov	x20, x19
	cbz	w8, LBB0_4
; %bb.1:
	mov	x20, x19
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sxtb	w0, w8
	bl	_ISSPACE
	cbnz	w0, LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w8, [x20, #1]!
	cbnz	w8, LBB0_2
LBB0_4:
	strb	wzr, [x20], #1
	mov	x0, x19
	bl	_is_bcc_insn
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_get_b_cc
	mov	x1, x0
	add	x0, sp, #8
	bl	_strcpy
Lloh3:
	adrp	x1, l_.str.1@PAGE
Lloh4:
	add	x1, x1, l_.str.1@PAGEOFF
	add	x0, sp, #8
	bl	_strcat
	add	x0, sp, #8
	mov	x1, x20
	bl	_strcat
Lloh5:
	adrp	x19, l_.str@PAGE
Lloh6:
	add	x19, x19, l_.str@PAGEOFF
	add	x20, sp, #8
LBB0_6:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_streq
	cbz	x0, LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_check_cinv_options
	mov	x0, x19
	mov	x1, x20
	bl	_strcat
LBB0_8:
Lloh9:
	adrp	x0, l_.str.3@PAGE
Lloh10:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x19
	bl	_streq
Lloh11:
	adrp	x22, _cr16_inst_hash@GOTPAGE
Lloh12:
	ldr	x22, [x22, _cr16_inst_hash@GOTPAGEOFF]
Lloh13:
	adrp	x21, _instruction@GOTPAGE
Lloh14:
	ldr	x21, [x21, _instruction@GOTPAGEOFF]
	cbnz	x0, LBB0_11
; %bb.9:
Lloh15:
	adrp	x0, l_.str.4@PAGE
Lloh16:
	add	x0, x0, l_.str.4@PAGEOFF
	mov	x1, x19
	bl	_streq
	cbnz	x0, LBB0_11
; %bb.10:
Lloh17:
	adrp	x0, l_.str.5@PAGE
Lloh18:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x19
	bl	_streq
	cbz	x0, LBB0_17
LBB0_11:
	ldrb	w8, [x20]
	cmp	w8, #36
	b.ne	LBB0_17
; %bb.12:
	add	x0, sp, #8
	mov	x1, x20
	bl	_strcpy
	ldr	w0, [x22]
	mov	x1, x19
	bl	_hash_find
	str	x0, [x21]
	mov	x0, sp
	add	x1, sp, #8
	bl	_parse_operands
	ldr	x8, [sp]
	ldr	x9, [x8]
Lloh19:
	adrp	x10, _arg_ic@GOTPAGE
Lloh20:
	ldr	x10, [x10, _arg_ic@GOTPAGEOFF]
Lloh21:
	ldr	x10, [x10]
	cmp	x9, x10
	b.ne	LBB0_17
; %bb.13:
	ldr	x8, [x8, #8]
	tbnz	x8, #63, LBB0_17
; %bb.14:
Lloh22:
	adrp	x0, l_.str.3@PAGE
Lloh23:
	add	x0, x0, l_.str.3@PAGEOFF
	mov	x1, x19
	bl	_streq
	cbz	x0, LBB0_16
; %bb.15:
Lloh24:
	adrp	x19, l_.str.6@PAGE
Lloh25:
	add	x19, x19, l_.str.6@PAGEOFF
	b	LBB0_17
LBB0_16:
Lloh26:
	adrp	x0, l_.str.5@PAGE
Lloh27:
	add	x0, x0, l_.str.5@PAGEOFF
	mov	x1, x19
	bl	_streq
Lloh28:
	adrp	x8, l_.str.7@PAGE
Lloh29:
	add	x8, x8, l_.str.7@PAGEOFF
Lloh30:
	adrp	x9, l_.str.8@PAGE
Lloh31:
	add	x9, x9, l_.str.8@PAGEOFF
	cmp	x0, #0
	csel	x19, x9, x8, eq
LBB0_17:
	ldr	w0, [x22]
	mov	x1, x19
	bl	_hash_find
	str	x0, [x21]
	cbz	x0, LBB0_20
; %bb.18:
	mov	w0, #0
	bl	_dwarf2_emit_insn
	mov	x0, sp
	mov	x1, x20
	bl	_parse_insn
	mov	x1, sp
	mov	x0, x19
	bl	_assemble_insn
	cbz	x0, LBB0_21
; %bb.19:
	mov	x0, sp
	bl	_print_insn
	b	LBB0_21
LBB0_20:
Lloh32:
	adrp	x0, l_.str.9@PAGE
Lloh33:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	__
	mov	x1, x19
	bl	_as_bad
LBB0_21:
	ldr	x8, [sp, #40]
Lloh34:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh35:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh36:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.22:
	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
	add	sp, sp, #96
	ret
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"b"

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

l_.str.2:                               ; @.str.2
	.asciz	"cinv"

l_.str.3:                               ; @.str.3
	.asciz	"lshb"

l_.str.4:                               ; @.str.4
	.asciz	"lshw"

l_.str.5:                               ; @.str.5
	.asciz	"lshd"

	.comm	_cr16_inst_hash,4,2             ; @cr16_inst_hash
	.comm	_instruction,8,3                ; @instruction
	.comm	_arg_ic,8,3                     ; @arg_ic
l_.str.6:                               ; @.str.6
	.asciz	"ashub"

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

l_.str.8:                               ; @.str.8
	.asciz	"ashuw"

l_.str.9:                               ; @.str.9
	.asciz	"Unknown opcode: `%s'"

.subsections_via_symbols
