	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kgdb_trgt_trapframe_sniffer    ## -- Begin function kgdb_trgt_trapframe_sniffer
	.p2align	4, 0x90
_kgdb_trgt_trapframe_sniffer:           ## @kgdb_trgt_trapframe_sniffer
	.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
	callq	_frame_pc_unwind
	movq	_PMAP_TRM_MIN_ADDRESS@GOTPCREL(%rip), %rcx
	movq	_kgdb_trgt_trapframe_unwind@GOTPCREL(%rip), %r14
	cmpq	(%rcx), %rax
	jge	LBB0_7
## %bb.1:
	movq	$0, -24(%rbp)
	xorl	%ebx, %ebx
	leaq	-24(%rbp), %rsi
	movq	%rax, %rdi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_find_pc_partial_function
	movq	-24(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.2:
	leaq	L_.str(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_9
## %bb.3:
	movq	-24(%rbp), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_7
## %bb.4:
	movq	-24(%rbp), %rax
	cmpb	$88, (%rax)
	jne	LBB0_6
## %bb.5:
	cmpb	$95, 1(%rax)
	movq	%r14, %rbx
	jne	LBB0_8
LBB0_6:
	xorl	%ebx, %ebx
	jmp	LBB0_8
LBB0_7:
	movq	%r14, %rbx
LBB0_8:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_9:
	movq	_kgdb_trgt_dblfault_unwind@GOTPCREL(%rip), %rbx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_PMAP_TRM_MIN_ADDRESS,8,3       ## @PMAP_TRM_MIN_ADDRESS
	.comm	_kgdb_trgt_trapframe_unwind,4,2 ## @kgdb_trgt_trapframe_unwind
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dblfault_handler"

	.comm	_kgdb_trgt_dblfault_unwind,4,2  ## @kgdb_trgt_dblfault_unwind
L_.str.1:                               ## @.str.1
	.asciz	"calltrap"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kgdb_trgt_trapframe_sniffer    ; -- Begin function kgdb_trgt_trapframe_sniffer
	.p2align	2
_kgdb_trgt_trapframe_sniffer:           ; @kgdb_trgt_trapframe_sniffer
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	bl	_frame_pc_unwind
Lloh0:
	adrp	x8, _PMAP_TRM_MIN_ADDRESS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PMAP_TRM_MIN_ADDRESS@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ge	LBB0_7
; %bb.1:
	str	xzr, [sp, #8]
	add	x1, sp, #8
	mov	x2, #0
	mov	x3, #0
	bl	_find_pc_partial_function
	ldr	x0, [sp, #8]
	cbz	x0, LBB0_8
; %bb.2:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.3:
	ldr	x0, [sp, #8]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_strcmp
	cbz	x0, LBB0_7
; %bb.4:
	ldr	x8, [sp, #8]
	ldrb	w9, [x8]
	cmp	w9, #88
	b.ne	LBB0_6
; %bb.5:
	ldrb	w8, [x8, #1]
	cmp	w8, #95
	b.ne	LBB0_7
LBB0_6:
	mov	x0, #0
	b	LBB0_8
LBB0_7:
Lloh7:
	adrp	x0, _kgdb_trgt_trapframe_unwind@GOTPAGE
Lloh8:
	ldr	x0, [x0, _kgdb_trgt_trapframe_unwind@GOTPAGEOFF]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_9:
Lloh9:
	adrp	x0, _kgdb_trgt_dblfault_unwind@GOTPAGE
Lloh10:
	ldr	x0, [x0, _kgdb_trgt_dblfault_unwind@GOTPAGEOFF]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_PMAP_TRM_MIN_ADDRESS,8,3       ; @PMAP_TRM_MIN_ADDRESS
	.comm	_kgdb_trgt_trapframe_unwind,4,2 ; @kgdb_trgt_trapframe_unwind
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dblfault_handler"

	.comm	_kgdb_trgt_dblfault_unwind,4,2  ; @kgdb_trgt_dblfault_unwind
l_.str.1:                               ; @.str.1
	.asciz	"calltrap"

.subsections_via_symbols
