	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function thumb_disasm_ldrreg
_thumb_disasm_ldrreg:                   ## @thumb_disasm_ldrreg
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %r14
	testl	$2048, %esi                     ## imm = 0x800
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rdx
	cmoveq	%rax, %rdx
	movl	(%rdi), %edi
	testl	$1024, %esi                     ## imm = 0x400
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %rcx
	cmoveq	%rax, %rcx
	movq	_tbl_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%esi, %ebx
	andl	$7, %ebx
	movl	(%rax,%rbx,4), %r8d
	movl	%esi, %ebx
	shrl	$3, %ebx
	andl	$7, %ebx
	movl	(%rax,%rbx,4), %r9d
	shrl	$6, %esi
	andl	$7, %esi
	movl	(%rax,%rsi,4), %eax
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rsi
	callq	_r_str_appendf
	movl	%eax, (%r14)
	xorl	%eax, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s%s %s, [%s, %s]"

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

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

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

L_.str.4:                               ## @.str.4
	.space	1

	.comm	_tbl_regs,8,3                   ## @tbl_regs
	.no_dead_strip	_thumb_disasm_ldrreg
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function thumb_disasm_ldrreg
_thumb_disasm_ldrreg:                   ; @thumb_disasm_ldrreg
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [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
	tst	w1, #0x800
	csel	x2, x9, x8, eq
Lloh4:
	adrp	x8, l_.str.3@PAGE
Lloh5:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh6:
	adrp	x9, l_.str.4@PAGE
Lloh7:
	add	x9, x9, l_.str.4@PAGEOFF
	tst	w1, #0x400
	csel	x3, x9, x8, eq
Lloh8:
	adrp	x8, _tbl_regs@GOTPAGE
Lloh9:
	ldr	x8, [x8, _tbl_regs@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	and	w9, w1, #0x7
	ldr	w4, [x8, w9, uxtw #2]
	ubfx	w9, w1, #3, #3
	ldr	w5, [x8, w9, uxtw #2]
	ubfx	w9, w1, #6, #3
	ldr	w6, [x8, w9, uxtw #2]
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	bl	_r_str_appendf
	str	w0, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s%s %s, [%s, %s]"

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

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

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

l_.str.4:                               ; @.str.4
	.space	1

	.comm	_tbl_regs,8,3                   ; @tbl_regs
	.no_dead_strip	_thumb_disasm_ldrreg
.subsections_via_symbols
