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

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

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

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function thumb_disasm_ldrsprel
_thumb_disasm_ldrsprel:                 ; @thumb_disasm_ldrsprel
	.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
	ubfiz	w4, w1, #2, #8
	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, _tbl_regs@GOTPAGE
Lloh5:
	ldr	x8, [x8, _tbl_regs@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	ubfx	w9, w1, #8, #3
	ldr	w3, [x8, w9, uxtw #2]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	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	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s %s, [sp, #%u]"

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

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

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