	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function trap_is_smap
_trap_is_smap:                          ## @trap_is_smap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_cpu_stdext_feature@GOTPCREL(%rip), %rcx
	movq	_CPUID_STDEXT_SMAP@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%eax, %eax
	testl	%edx, (%rcx)
	je	LBB0_3
## %bb.1:
	movq	_PGEX_P@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_PGEX_U@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%ecx, %edx
	movq	_PGEX_I@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movq	_PGEX_RSV@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	andl	(%rdi), %edx
	cmpl	%ecx, %edx
	jne	LBB0_3
## %bb.2:
	movq	_PSL_AC@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	xorl	%eax, %eax
	testl	%ecx, 4(%rdi)
	sete	%al
LBB0_3:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cpu_stdext_feature,4,2         ## @cpu_stdext_feature
	.comm	_CPUID_STDEXT_SMAP,4,2          ## @CPUID_STDEXT_SMAP
	.comm	_PGEX_P,4,2                     ## @PGEX_P
	.comm	_PGEX_U,4,2                     ## @PGEX_U
	.comm	_PGEX_I,4,2                     ## @PGEX_I
	.comm	_PGEX_RSV,4,2                   ## @PGEX_RSV
	.comm	_PSL_AC,4,2                     ## @PSL_AC
	.no_dead_strip	_trap_is_smap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function trap_is_smap
_trap_is_smap:                          ; @trap_is_smap
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _cpu_stdext_feature@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cpu_stdext_feature@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _CPUID_STDEXT_SMAP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CPUID_STDEXT_SMAP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
	ldr	w8, [x0]
Lloh6:
	adrp	x9, _PGEX_P@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PGEX_P@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _PGEX_U@GOTPAGE
Lloh10:
	ldr	x10, [x10, _PGEX_U@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	orr	w10, w10, w9
Lloh12:
	adrp	x11, _PGEX_I@GOTPAGE
Lloh13:
	ldr	x11, [x11, _PGEX_I@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	orr	w10, w10, w11
Lloh15:
	adrp	x11, _PGEX_RSV@GOTPAGE
Lloh16:
	ldr	x11, [x11, _PGEX_RSV@GOTPAGEOFF]
Lloh17:
	ldr	w11, [x11]
	orr	w10, w10, w11
	and	w8, w10, w8
	cmp	w8, w9
	b.ne	LBB0_3
; %bb.2:
	ldr	w8, [x0, #4]
Lloh18:
	adrp	x9, _PSL_AC@GOTPAGE
Lloh19:
	ldr	x9, [x9, _PSL_AC@GOTPAGEOFF]
Lloh20:
	ldr	w9, [x9]
	tst	w9, w8
	cset	w0, eq
	ret
LBB0_3:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_cpu_stdext_feature,4,2         ; @cpu_stdext_feature
	.comm	_CPUID_STDEXT_SMAP,4,2          ; @CPUID_STDEXT_SMAP
	.comm	_PGEX_P,4,2                     ; @PGEX_P
	.comm	_PGEX_U,4,2                     ; @PGEX_U
	.comm	_PGEX_I,4,2                     ; @PGEX_I
	.comm	_PGEX_RSV,4,2                   ; @PGEX_RSV
	.comm	_PSL_AC,4,2                     ; @PSL_AC
	.no_dead_strip	_trap_is_smap
.subsections_via_symbols
