	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function amd64obsd_pc_in_sigtramp
_amd64obsd_pc_in_sigtramp:              ## @amd64obsd_pc_in_sigtramp
	.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	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movq	_amd64obsd_page_size@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movabsq	$-3674937294193637560, %rax     ## imm = 0xCD00000067C0C748
	movq	%rax, -48(%rbp)
	movb	$-128, -40(%rbp)
	xorl	%r14d, %r14d
	testq	%rsi, %rsi
	jne	LBB0_3
## %bb.1:
	negl	%ebx
	andl	%edi, %ebx
	movl	$9, %edi
	callq	_alloca
	movq	%rax, %r15
	addl	$7, %ebx
	movl	%ebx, %edi
	movq	%rax, %rsi
	movl	$9, %edx
	callq	_target_read_memory
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	movl	$9, %edx
	callq	_memcmp
	xorl	%r14d, %r14d
	testq	%rax, %rax
	sete	%r14b
LBB0_3:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_5
## %bb.4:
	movl	%r14d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_amd64obsd_page_size,4,2        ## @amd64obsd_page_size
	.section	__TEXT,__const
l___const.amd64obsd_pc_in_sigtramp.sigreturn: ## @__const.amd64obsd_pc_in_sigtramp.sigreturn
	.ascii	"H\307\300g\000\000\000\315\200"

	.no_dead_strip	_amd64obsd_pc_in_sigtramp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function amd64obsd_pc_in_sigtramp
_amd64obsd_pc_in_sigtramp:              ; @amd64obsd_pc_in_sigtramp
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, _amd64obsd_page_size@GOTPAGE
Lloh4:
	ldr	x8, [x8, _amd64obsd_page_size@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, l___const.amd64obsd_pc_in_sigtramp.sigreturn@PAGE
Lloh7:
	add	x9, x9, l___const.amd64obsd_pc_in_sigtramp.sigreturn@PAGEOFF
Lloh8:
	ldr	x9, [x9]
	str	x9, [sp, #8]
	mov	w9, #128
	strb	w9, [sp, #16]
	cbz	x1, LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_4
LBB0_2:
	neg	w8, w8
	and	w20, w8, w0
	mov	w0, #9
	bl	_alloca
	mov	x19, x0
	add	w0, w20, #7
	mov	x1, x19
	mov	w2, #9
	bl	_target_read_memory
	mov	x8, x0
	mov	w0, #0
	cbnz	x8, LBB0_4
; %bb.3:
	add	x1, sp, #8
	mov	x0, x19
	mov	w2, #9
	bl	_memcmp
	cmp	x0, #0
	cset	w0, eq
LBB0_4:
	ldr	x8, [sp, #24]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_6
; %bb.5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_6:
	bl	___stack_chk_fail
	.loh AdrpAddLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_amd64obsd_page_size,4,2        ; @amd64obsd_page_size
	.section	__TEXT,__const
l___const.amd64obsd_pc_in_sigtramp.sigreturn: ; @__const.amd64obsd_pc_in_sigtramp.sigreturn
	.ascii	"H\307\300g\000\000\000\315\200"

	.no_dead_strip	_amd64obsd_pc_in_sigtramp
.subsections_via_symbols
