	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function arm_disasm_halfwordtrans
_arm_disasm_halfwordtrans:              ## @arm_disasm_halfwordtrans
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	%esi, %eax
	shrl	$4, %eax
	andl	$240, %eax
	movl	%esi, %ecx
	andl	$15, %ecx
	orl	%eax, %ecx
	movl	%ecx, %eax
	negl	%eax
	testl	$8388608, %esi                  ## imm = 0x800000
	cmovnel	%ecx, %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	$1048576, %esi                  ## imm = 0x100000
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %r15
	cmoveq	%rax, %r15
	testb	$64, %bl
	leaq	L_.str.4(%rip), %rax
	leaq	L_.str.3(%rip), %r12
	cmoveq	%rax, %r12
	movq	(%rdi), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	leaq	L_.str.6(%rip), %rcx
	cmoveq	%rax, %rcx
	testb	$32, %bl
	leaq	L_.str.5(%rip), %r14
	cmoveq	%rcx, %r14
	testl	$2097152, %esi                  ## imm = 0x200000
	leaq	L_.str.7(%rip), %r13
	cmoveq	%rax, %r13
	movl	%esi, %edi
	callq	_get_cond
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rsi
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rdx
	movq	%r12, %rcx
	movq	%r14, %r8
	movq	%r13, %r9
	xorl	%eax, %eax
	callq	_r_str_appendf
	movq	%rax, %r14
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	movq	%rax, (%r12)
	movq	_tbl_regs@GOTPCREL(%rip), %r13
	movq	(%r13), %r15
	movl	%ebx, %edi
	movl	$3, %esi
	callq	_get_nibble
	movswl	(%r15,%rax,2), %edx
	leaq	L_.str.8(%rip), %rsi
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_r_str_appendf
	movq	%rax, %r15
	movq	%rax, (%r12)
	movq	(%r13), %r14
	movl	%ebx, %edi
	movl	$4, %esi
	callq	_get_nibble
	testl	$16777216, %ebx                 ## imm = 0x1000000
	leaq	L_.str.11(%rip), %rcx
	leaq	L_.str.9(%rip), %r13
	cmoveq	%rcx, %r13
	movswl	(%r14,%rax,2), %r12d
	testl	$4194304, %ebx                  ## imm = 0x400000
	jne	LBB0_1
## %bb.2:
	testl	$16777216, %ebx                 ## imm = 0x1000000
	leaq	L_.str.12(%rip), %rax
	leaq	L_.str.10(%rip), %r13
	cmoveq	%rax, %r13
	movq	_tbl_regs@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_get_nibble
	movzwl	(%r14,%rax,2), %eax
	jmp	LBB0_3
LBB0_1:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
LBB0_3:
	movswl	%ax, %ecx
	movq	%r15, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	xorl	%eax, %eax
	callq	_r_str_appendf
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	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	"s"

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

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

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

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

L_.str.8:                               ## @.str.8
	.asciz	" %s, "

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

L_.str.10:                              ## @.str.10
	.asciz	"[%s, %s]"

L_.str.11:                              ## @.str.11
	.asciz	"[%s], #%d"

L_.str.12:                              ## @.str.12
	.asciz	"[%s], %s"

	.no_dead_strip	_arm_disasm_halfwordtrans
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function arm_disasm_halfwordtrans
_arm_disasm_halfwordtrans:              ; @arm_disasm_halfwordtrans
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	lsr	w8, w1, #4
	and	w8, w8, #0xf0
	bfxil	w8, w1, #0, #4
	tst	w1, #0x800000
	cneg	w23, w8, eq
	ldr	x21, [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, #0x100000
	csel	x22, 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, #0x40
	csel	x24, x9, x8, eq
Lloh8:
	adrp	x8, l_.str.6@PAGE
Lloh9:
	add	x8, x8, l_.str.6@PAGEOFF
	csel	x8, x9, x8, eq
Lloh10:
	adrp	x10, l_.str.5@PAGE
Lloh11:
	add	x10, x10, l_.str.5@PAGEOFF
	tst	w1, #0x20
	csel	x25, x8, x10, eq
Lloh12:
	adrp	x8, l_.str.7@PAGE
Lloh13:
	add	x8, x8, l_.str.7@PAGEOFF
	tst	w1, #0x200000
	csel	x26, x9, x8, eq
	mov	x0, x1
	bl	_get_cond
                                        ; kill: def $w0 killed $w0 def $x0
	stp	x26, x0, [sp, #24]
	stp	x24, x25, [sp, #8]
	str	x22, [sp]
Lloh14:
	adrp	x1, l_.str@PAGE
Lloh15:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_r_str_appendf
	mov	x21, x0
	str	x0, [x19]
Lloh16:
	adrp	x24, _tbl_regs@GOTPAGE
Lloh17:
	ldr	x24, [x24, _tbl_regs@GOTPAGEOFF]
	ldr	x22, [x24]
	mov	x0, x20
	mov	w1, #3
	bl	_get_nibble
	ldrsh	x8, [x22, x0, lsl #1]
	str	x8, [sp]
Lloh18:
	adrp	x1, l_.str.8@PAGE
Lloh19:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x21
	bl	_r_str_appendf
	mov	x21, x0
	str	x0, [x19]
	ldr	x22, [x24]
	mov	x0, x20
	mov	w1, #4
	bl	_get_nibble
	ldrsh	w25, [x22, x0, lsl #1]
Lloh20:
	adrp	x8, l_.str.9@PAGE
Lloh21:
	add	x8, x8, l_.str.9@PAGEOFF
Lloh22:
	adrp	x9, l_.str.11@PAGE
Lloh23:
	add	x9, x9, l_.str.11@PAGEOFF
	tst	w20, #0x1000000
	csel	x22, x9, x8, eq
	tbnz	w20, #22, LBB0_2
; %bb.1:
Lloh24:
	adrp	x8, l_.str.10@PAGE
Lloh25:
	add	x8, x8, l_.str.10@PAGEOFF
Lloh26:
	adrp	x9, l_.str.12@PAGE
Lloh27:
	add	x9, x9, l_.str.12@PAGEOFF
	tst	w20, #0x1000000
	csel	x22, x9, x8, eq
	ldr	x23, [x24]
	mov	x0, x20
	mov	w1, #0
	bl	_get_nibble
	ldrh	w23, [x23, x0, lsl #1]
LBB0_2:
	sxth	x8, w23
	stp	x25, x8, [sp]
	mov	x0, x21
	mov	x1, x22
	bl	_r_str_appendf
	str	x0, [x19]
	mov	w0, #0
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpAdd	Lloh24, Lloh25
	.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	"s"

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

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

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

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

l_.str.8:                               ; @.str.8
	.asciz	" %s, "

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

l_.str.10:                              ; @.str.10
	.asciz	"[%s, %s]"

l_.str.11:                              ; @.str.11
	.asciz	"[%s], #%d"

l_.str.12:                              ; @.str.12
	.asciz	"[%s], %s"

	.no_dead_strip	_arm_disasm_halfwordtrans
.subsections_via_symbols
