	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function thumb_disasm_addsub
_thumb_disasm_addsub:                   ## @thumb_disasm_addsub
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r14
	testl	$512, %esi                      ## imm = 0x200
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	movq	(%rdi), %rdi
	movq	_tbl_regs@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	%esi, %ecx
	andl	$7, %ecx
	movl	(%rax,%rcx,4), %ecx
	shrl	$3, %esi
	andl	$7, %esi
	movl	(%rax,%rsi,4), %r8d
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_r_str_appendf
	movq	%rax, (%r14)
	testl	$1024, %ebx                     ## imm = 0x400
	jne	LBB0_1
## %bb.2:
	movq	(%r15), %rcx
	shrl	$6, %ebx
	andl	$7, %ebx
	movl	(%rcx,%rbx,4), %edx
	leaq	L_.str.4(%rip), %rsi
	movq	%rax, %rdi
	jmp	LBB0_3
LBB0_1:
	shrl	$6, %ebx
	andl	$7, %ebx
	leaq	L_.str.3(%rip), %rsi
	movq	%rax, %rdi
	movl	%ebx, %edx
LBB0_3:
	xorl	%eax, %eax
	callq	_r_str_appendf
	movq	%rax, (%r14)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s %s, %s, "

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

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

	.comm	_tbl_regs,8,3                   ## @tbl_regs
L_.str.3:                               ## @.str.3
	.asciz	"#%d"

L_.str.4:                               ## @.str.4
	.asciz	"%s"

	.no_dead_strip	_thumb_disasm_addsub
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function thumb_disasm_addsub
_thumb_disasm_addsub:                   ; @thumb_disasm_addsub
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, l_.str.1@PAGE
Lloh1:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh2:
	adrp	x9, l_.str.2@PAGE
Lloh3:
	add	x9, x9, l_.str.2@PAGEOFF
	ldr	x0, [x0]
	tst	w1, #0x200
	csel	x8, x9, x8, eq
Lloh4:
	adrp	x21, _tbl_regs@GOTPAGE
Lloh5:
	ldr	x21, [x21, _tbl_regs@GOTPAGEOFF]
	ldr	x9, [x21]
	and	w10, w1, #0x7
	ubfx	w11, w1, #3, #3
	ldr	w10, [x9, w10, uxtw #2]
	ldr	w9, [x9, w11, uxtw #2]
	stp	x10, x9, [sp, #8]
	str	x8, [sp]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_r_str_appendf
	str	x0, [x19]
	tbnz	w20, #10, LBB0_2
; %bb.1:
	ldr	x8, [x21]
	ubfx	w9, w20, #6, #3
	ldr	w8, [x8, w9, uxtw #2]
	str	x8, [sp]
Lloh8:
	adrp	x1, l_.str.4@PAGE
Lloh9:
	add	x1, x1, l_.str.4@PAGEOFF
	b	LBB0_3
LBB0_2:
	ubfx	w8, w20, #6, #3
	str	x8, [sp]
Lloh10:
	adrp	x1, l_.str.3@PAGE
Lloh11:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_3:
	bl	_r_str_appendf
	str	x0, [x19]
	mov	w0, #0
	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
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s %s, %s, "

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

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

	.comm	_tbl_regs,8,3                   ; @tbl_regs
l_.str.3:                               ; @.str.3
	.asciz	"#%d"

l_.str.4:                               ; @.str.4
	.asciz	"%s"

	.no_dead_strip	_thumb_disasm_addsub
.subsections_via_symbols
