	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pevent_get_field_raw           ## -- Begin function pevent_get_field_raw
	.p2align	4, 0x90
_pevent_get_field_raw:                  ## @pevent_get_field_raw
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.1:
	movl	%r9d, %r13d
	movq	%r8, %r12
	movq	%rdx, %r15
	movq	%rsi, %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	(%rcx), %r14
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	callq	_pevent_find_field
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	testq	%r12, %r12
	leaq	-52(%rbp), %r15
	cmovneq	%r12, %r15
	movl	(%rax), %esi
	movq	_FIELD_IS_DYNAMIC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, 4(%rax)
	je	LBB0_7
## %bb.3:
	movl	(%rbx), %edi
	addq	%r14, %rsi
	movl	8(%rax), %edx
	callq	_pevent_read_number
	movzwl	%ax, %esi
	shrl	$16, %eax
	jmp	LBB0_8
LBB0_5:
	testl	%r13d, %r13d
	je	LBB0_4
## %bb.6:
	leaq	L_.str(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_trace_seq_printf
	xorl	%r14d, %r14d
	jmp	LBB0_9
LBB0_4:
	xorl	%r14d, %r14d
	jmp	LBB0_9
LBB0_7:
	movl	8(%rax), %eax
LBB0_8:
	movl	%eax, (%r15)
	movl	%esi, %eax
	addq	%rax, %r14
LBB0_9:
	movq	%r14, %rax
	addq	$24, %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	"<CANT FIND FIELD %s>"

	.comm	_FIELD_IS_DYNAMIC,4,2           ## @FIELD_IS_DYNAMIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pevent_get_field_raw           ; -- Begin function pevent_get_field_raw
	.p2align	2
_pevent_get_field_raw:                  ; @pevent_get_field_raw
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	cbz	x1, LBB0_6
; %bb.1:
	mov	x22, x5
	mov	x21, x4
	mov	x20, x2
	mov	x19, x1
	mov	x23, x0
	ldr	x24, [x3]
	mov	x0, x1
	mov	x1, x2
	bl	_pevent_find_field
	cbz	x0, LBB0_4
; %bb.2:
	add	x8, sp, #12
	cmp	x21, #0
	csel	x20, x8, x21, eq
	ldp	w9, w8, [x0]
Lloh0:
	adrp	x10, _FIELD_IS_DYNAMIC@GOTPAGE
Lloh1:
	ldr	x10, [x10, _FIELD_IS_DYNAMIC@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	tst	w10, w8
	b.eq	LBB0_7
; %bb.3:
	ldr	w8, [x19]
	add	x1, x24, x9
	ldr	w2, [x0, #8]
	mov	x0, x8
	bl	_pevent_read_number
	lsr	w8, w0, #16
	str	w8, [x20]
	and	w9, w0, #0xffff
	b	LBB0_8
LBB0_4:
	cbz	w22, LBB0_6
; %bb.5:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	mov	x2, x20
	bl	_trace_seq_printf
	mov	x0, #0
	b	LBB0_9
LBB0_6:
	mov	x0, #0
	b	LBB0_9
LBB0_7:
	ldr	w8, [x0, #8]
	str	w8, [x20]
LBB0_8:
	add	x0, x24, w9, uxtw
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"<CANT FIND FIELD %s>"

	.comm	_FIELD_IS_DYNAMIC,4,2           ; @FIELD_IS_DYNAMIC
.subsections_via_symbols
