	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_field_str
_get_field_str:                         ## @get_field_str
	.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	%rbx
	subq	$72, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rdx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	8(%rdi), %rsi
	movq	_FIELD_IS_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rsi)
	je	LBB0_3
## %bb.1:
	movslq	4(%rsi), %rbx
	addq	(%rdx), %rbx
	movslq	8(%rsi), %rdx
	cmpb	$0, -1(%rdx,%rbx)
	je	LBB0_6
## %bb.2:
	movq	(%r14), %rdi
	movq	%rbx, %rsi
                                        ## kill: def $edx killed $edx killed $rdx
	callq	_memcpy
	movq	(%r14), %rbx
	jmp	LBB0_6
LBB0_3:
	movq	16(%rsi), %rdi
	movq	(%rdi), %rbx
	callq	_get_value
	movq	%rax, %r15
	movq	8(%r14), %rax
	movq	_FIELD_IS_POINTER@GOTPCREL(%rip), %rcx
	movq	_FIELD_IS_LONG@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	testl	%edx, (%rax)
	je	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_pevent_find_function
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_6
LBB0_5:
	leaq	-96(%rbp), %rbx
	leaq	L_.str(%rip), %rdx
	movq	%rbx, %rdi
	movl	$64, %esi
	movq	%r15, %rcx
	callq	_snprintf
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movq	%rbx, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_FIELD_IS_STRING,4,2            ## @FIELD_IS_STRING
	.comm	_FIELD_IS_POINTER,4,2           ## @FIELD_IS_POINTER
	.comm	_FIELD_IS_LONG,4,2              ## @FIELD_IS_LONG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0x%llx"

	.no_dead_strip	_get_field_str
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_field_str
_get_field_str:                         ; @get_field_str
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x2, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-40]
	ldr	x1, [x0, #8]
	ldr	w8, [x1]
Lloh3:
	adrp	x9, _FIELD_IS_STRING@GOTPAGE
Lloh4:
	ldr	x9, [x9, _FIELD_IS_STRING@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	ldr	x8, [x2]
	ldpsw	x9, x2, [x1, #4]
	add	x19, x8, x9
	add	x8, x19, x2
	ldurb	w8, [x8, #-1]
	cbz	w8, LBB0_6
; %bb.2:
	ldr	x0, [x20]
	mov	x1, x19
                                        ; kill: def $w2 killed $w2 killed $x2
	bl	_memcpy
	ldr	x19, [x20]
	b	LBB0_6
LBB0_3:
	ldr	x0, [x1, #16]
	ldr	x19, [x0]
	bl	_get_value
	mov	x21, x0
	ldr	x8, [x20, #8]
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _FIELD_IS_POINTER@GOTPAGE
Lloh7:
	ldr	x9, [x9, _FIELD_IS_POINTER@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _FIELD_IS_LONG@GOTPAGE
Lloh10:
	ldr	x10, [x10, _FIELD_IS_LONG@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w9, w10, w9
	tst	w9, w8
	b.eq	LBB0_5
; %bb.4:
	mov	x0, x19
	mov	x1, x21
	bl	_pevent_find_function
	mov	x19, x0
	cbnz	x0, LBB0_6
LBB0_5:
	add	x19, sp, #8
Lloh12:
	adrp	x2, l_.str@PAGE
Lloh13:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #64
	mov	x3, x21
	bl	_snprintf
LBB0_6:
	ldur	x8, [x29, #-40]
Lloh14:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh15:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.7:
	mov	x0, x19
	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
	add	sp, sp, #128
	ret
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_FIELD_IS_STRING,4,2            ; @FIELD_IS_STRING
	.comm	_FIELD_IS_POINTER,4,2           ; @FIELD_IS_POINTER
	.comm	_FIELD_IS_LONG,4,2              ; @FIELD_IS_LONG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0x%llx"

	.no_dead_strip	_get_field_str
.subsections_via_symbols
