	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tp_la_open
_tp_la_open:                            ## @tp_la_open
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	(%rdi), %r14
	movq	_TP_DBG_LA_CONFIG_A@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_t4_read_reg
	movl	%eax, %edi
	callq	_DBGLAMODE_G
	cmpl	$3, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$2, %eax
	jne	LBB0_5
## %bb.2:
	movq	_TPLA_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	sarl	%esi
	movq	_tp_la_show2@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_4:
	movq	_TPLA_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	shrl	$31, %esi
	addl	%eax, %esi
	sarl	%esi
	movq	_tp_la_show3@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	movl	$8, %edx
	jmp	LBB0_6
LBB0_5:
	movq	_TPLA_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_tp_la_show@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%rbx, %rdi
	movl	$4, %edx
LBB0_6:
	xorl	%ecx, %ecx
	callq	_seq_open_tab
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	(%rax), %rsi
	xorl	%ebx, %ebx
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_t4_tp_read_la
	jmp	LBB0_9
LBB0_7:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TP_DBG_LA_CONFIG_A,4,2         ## @TP_DBG_LA_CONFIG_A
	.comm	_TPLA_SIZE,4,2                  ## @TPLA_SIZE
	.comm	_tp_la_show2,4,2                ## @tp_la_show2
	.comm	_tp_la_show3,4,2                ## @tp_la_show3
	.comm	_tp_la_show,4,2                 ## @tp_la_show
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_tp_la_open
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tp_la_open
_tp_la_open:                            ; @tp_la_open
	.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	x20, x1
	ldr	x19, [x0]
Lloh0:
	adrp	x8, _TP_DBG_LA_CONFIG_A@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TP_DBG_LA_CONFIG_A@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_t4_read_reg
	bl	_DBGLAMODE_G
Lloh3:
	adrp	x8, _TPLA_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TPLA_SIZE@GOTPAGEOFF]
	cmp	w0, #3
	b.eq	LBB0_3
; %bb.1:
	cmp	w0, #2
	b.ne	LBB0_5
; %bb.2:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w1, w8, #1
Lloh5:
	adrp	x8, _tp_la_show2@GOTPAGE
Lloh6:
	ldr	x8, [x8, _tp_la_show2@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:
	ldr	w8, [x8]
	cmp	w8, #0
	cinc	w8, w8, lt
	asr	w1, w8, #1
Lloh7:
	adrp	x8, _tp_la_show3@GOTPAGE
Lloh8:
	ldr	x8, [x8, _tp_la_show3@GOTPAGEOFF]
LBB0_4:
	ldr	w4, [x8]
	mov	x0, x20
	mov	w2, #8
	b	LBB0_6
LBB0_5:
	ldr	w1, [x8]
Lloh9:
	adrp	x8, _tp_la_show@GOTPAGE
Lloh10:
	ldr	x8, [x8, _tp_la_show@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
	mov	x0, x20
	mov	w2, #4
LBB0_6:
	mov	w3, #0
	bl	_seq_open_tab
	cbz	x0, LBB0_8
; %bb.7:
	ldr	x1, [x0]
	mov	x0, x19
	mov	x2, #0
	bl	_t4_tp_read_la
	mov	w0, #0
	b	LBB0_9
LBB0_8:
Lloh12:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_TP_DBG_LA_CONFIG_A,4,2         ; @TP_DBG_LA_CONFIG_A
	.comm	_TPLA_SIZE,4,2                  ; @TPLA_SIZE
	.comm	_tp_la_show2,4,2                ; @tp_la_show2
	.comm	_tp_la_show3,4,2                ; @tp_la_show3
	.comm	_tp_la_show,4,2                 ; @tp_la_show
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_tp_la_open
.subsections_via_symbols
