	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ia32_syscall                   ## -- Begin function ia32_syscall
	.p2align	4, 0x90
_ia32_syscall:                          ## @ia32_syscall
	.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	%rdi, %r14
	movl	(%rdi), %r15d
	movq	_curthread@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rdi, 8(%rbx)
	movq	%rbx, %rdi
	callq	_syscallenter
	movq	_PSL_T@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%r15d, %eax
	je	LBB0_2
## %bb.1:
	notl	%eax
	andl	%eax, (%r14)
	leaq	-40(%rbp), %r15
	movq	%r15, %rdi
	callq	_ksiginfo_init_trap
	movq	_SIGTRAP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
	movq	_TRAP_TRACE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	8(%r14), %rax
	movq	%rax, -40(%rbp)
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_trapsignal
LBB0_2:
	movq	%rbx, %rdi
	callq	_syscallret
	movl	(%rbx), %edi
	callq	_amd64_syscall_ret_flush_l1d
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_curthread,8,3                  ## @curthread
	.comm	_PSL_T,4,2                      ## @PSL_T
	.comm	_SIGTRAP,4,2                    ## @SIGTRAP
	.comm	_TRAP_TRACE,4,2                 ## @TRAP_TRACE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ia32_syscall                   ; -- Begin function ia32_syscall
	.p2align	2
_ia32_syscall:                          ; @ia32_syscall
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x0
	ldr	w21, [x0]
Lloh0:
	adrp	x8, _curthread@GOTPAGE
Lloh1:
	ldr	x8, [x8, _curthread@GOTPAGEOFF]
Lloh2:
	ldr	x19, [x8]
	str	x0, [x19, #8]
	mov	x0, x19
	bl	_syscallenter
Lloh3:
	adrp	x8, _PSL_T@GOTPAGE
Lloh4:
	ldr	x8, [x8, _PSL_T@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w21
	b.eq	LBB0_2
; %bb.1:
	ldr	w9, [x20]
	bic	w8, w9, w8
	str	w8, [x20]
	mov	x0, sp
	bl	_ksiginfo_init_trap
Lloh6:
	adrp	x8, _SIGTRAP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SIGTRAP@GOTPAGEOFF]
Lloh8:
	adrp	x9, _TRAP_TRACE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _TRAP_TRACE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #8]
	ldr	x8, [x20, #8]
	str	x8, [sp]
	mov	x1, sp
	mov	x0, x19
	bl	_trapsignal
LBB0_2:
	mov	x0, x19
	bl	_syscallret
	ldr	w0, [x19]
	bl	_amd64_syscall_ret_flush_l1d
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_curthread,8,3                  ; @curthread
	.comm	_PSL_T,4,2                      ; @PSL_T
	.comm	_SIGTRAP,4,2                    ; @SIGTRAP
	.comm	_TRAP_TRACE,4,2                 ; @TRAP_TRACE
.subsections_via_symbols
