	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function acpi_tcpa_evname
_acpi_tcpa_evname:                      ## @acpi_tcpa_evname
	.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
	movq	$0, -24(%rbp)
	movl	(%rdi), %eax
	leal	-128(%rax), %ecx
	cmpl	$29, %ecx
	ja	LBB0_12
## %bb.1:
	movl	$108926435, %edx                ## imm = 0x67E15E3
	btl	%ecx, %edx
	jae	LBB0_6
## %bb.2:
	movq	_tcpa_event_type_strings@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %rdx
LBB0_3:
	leaq	L_.str(%rip), %rsi
LBB0_4:
	leaq	-24(%rbp), %rdi
	callq	_asprintf
LBB0_5:
	movq	-24(%rbp), %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	leaq	8(%rdi), %rbx
	cmpl	$23, %ecx
	je	LBB0_9
## %bb.7:
	cmpl	$29, %ecx
	jne	LBB0_12
## %bb.8:
	movl	4(%rdi), %r14d
	leal	1(%r14), %edi
	movl	$1, %esi
	callq	_calloc
	movq	%rax, -24(%rbp)
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movl	%r14d, %edx
	callq	_memcpy
	jmp	LBB0_5
LBB0_9:
	movq	(%rbx), %rdx
	leaq	-130(%rdx), %rax
	cmpq	$26, %rax
	ja	LBB0_13
## %bb.10:
	movl	$104888967, %ecx                ## imm = 0x6407A87
	btq	%rax, %rcx
	jae	LBB0_13
## %bb.11:
	movq	_TCPA_pcclient_strings@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	(%rax,%rdx,8), %rdx
	jmp	LBB0_3
LBB0_12:
	movslq	%eax, %rdx
	leaq	L_.str.2(%rip), %rsi
	jmp	LBB0_4
LBB0_13:
	leaq	L_.str.1(%rip), %rsi
	jmp	LBB0_4
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s"

	.comm	_tcpa_event_type_strings,8,3    ## @tcpa_event_type_strings
	.comm	_TCPA_pcclient_strings,8,3      ## @TCPA_pcclient_strings
L_.str.1:                               ## @.str.1
	.asciz	"<unknown tag 0x%02x>"

L_.str.2:                               ## @.str.2
	.asciz	"<unknown 0x%02x>"

	.no_dead_strip	_acpi_tcpa_evname
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function acpi_tcpa_evname
_acpi_tcpa_evname:                      ; @acpi_tcpa_evname
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	str	xzr, [sp, #8]
	mov	x19, x0
	ldr	w8, [x19], #8
	sub	w9, w8, #128
	cmp	w9, #29
	b.hi	LBB0_11
; %bb.1:
	mov	w10, #1
	lsl	w10, w10, w9
	mov	w11, #5603
	movk	w11, #1662, lsl #16
	tst	w10, w11
	b.eq	LBB0_6
; %bb.2:
Lloh0:
	adrp	x9, _tcpa_event_type_strings@GOTPAGE
Lloh1:
	ldr	x9, [x9, _tcpa_event_type_strings@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	ldr	x2, [x9, x8, lsl #3]
LBB0_3:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
LBB0_4:
	add	x0, sp, #8
	bl	_asprintf
LBB0_5:
	ldr	x0, [sp, #8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_6:
	cmp	w9, #23
	b.eq	LBB0_9
; %bb.7:
	cmp	w9, #29
	b.ne	LBB0_11
; %bb.8:
	ldr	w20, [x0, #4]
	add	w0, w20, #1
	mov	w1, #1
	bl	_calloc
	str	x0, [sp, #8]
	mov	x1, x19
	mov	x2, x20
	bl	_memcpy
	b	LBB0_5
LBB0_9:
	ldr	x2, [x19]
	sub	x8, x2, #130
	cmp	x8, #26
	mov	w9, #1
	lsl	x8, x9, x8
	mov	w9, #31367
	movk	w9, #1600, lsl #16
	and	x8, x8, x9
	ccmp	x8, #0, #4, ls
	b.eq	LBB0_12
; %bb.10:
Lloh5:
	adrp	x8, _TCPA_pcclient_strings@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TCPA_pcclient_strings@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	ldr	x2, [x8, x2, lsl #3]
	b	LBB0_3
LBB0_11:
	sxtw	x2, w8
Lloh8:
	adrp	x1, l_.str.2@PAGE
Lloh9:
	add	x1, x1, l_.str.2@PAGEOFF
	b	LBB0_4
LBB0_12:
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s"

	.comm	_tcpa_event_type_strings,8,3    ; @tcpa_event_type_strings
	.comm	_TCPA_pcclient_strings,8,3      ; @TCPA_pcclient_strings
l_.str.1:                               ; @.str.1
	.asciz	"<unknown tag 0x%02x>"

l_.str.2:                               ; @.str.2
	.asciz	"<unknown 0x%02x>"

	.no_dead_strip	_acpi_tcpa_evname
.subsections_via_symbols
