	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_swi_handler                    ## -- Begin function swi_handler
	.p2align	4, 0x90
_swi_handler:                           ## @swi_handler
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_curthread@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%rdi, 16(%rbx)
	movq	$0, 8(%rbx)
	cmpq	$0, (%rbx)
	jne	LBB0_5
## %bb.1:
	movq	_PSR_I@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	andl	(%r14), %edi
	callq	___predict_true
	testq	%rax, %rax
	jne	LBB0_3
## %bb.2:
	movl	(%r15), %edi
	callq	_enable_interrupts
LBB0_3:
	movq	_PSR_F@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	andl	(%r14), %edi
	callq	___predict_true
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	movl	(%r15), %edi
	callq	_enable_interrupts
LBB0_5:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_syscall                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_curthread,8,3                  ## @curthread
	.comm	_PSR_I,4,2                      ## @PSR_I
	.comm	_PSR_F,4,2                      ## @PSR_F
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_swi_handler                    ; -- Begin function swi_handler
	.p2align	2
_swi_handler:                           ; @swi_handler
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x0
Lloh0:
	adrp	x8, _curthread@GOTPAGE
Lloh1:
	ldr	x8, [x8, _curthread@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	stp	xzr, x0, [x20, #8]
	ldr	x8, [x20]
	cbnz	x8, LBB0_5
; %bb.1:
	ldr	w8, [x19]
Lloh3:
	adrp	x21, _PSR_I@GOTPAGE
Lloh4:
	ldr	x21, [x21, _PSR_I@GOTPAGEOFF]
	ldr	w9, [x21]
	and	w0, w9, w8
	bl	___predict_true
	cbnz	x0, LBB0_3
; %bb.2:
	ldr	w0, [x21]
	bl	_enable_interrupts
LBB0_3:
	ldr	w8, [x19]
Lloh5:
	adrp	x21, _PSR_F@GOTPAGE
Lloh6:
	ldr	x21, [x21, _PSR_F@GOTPAGEOFF]
	ldr	w9, [x21]
	and	w0, w9, w8
	bl	___predict_true
	cbnz	x0, LBB0_5
; %bb.4:
	ldr	w0, [x21]
	bl	_enable_interrupts
LBB0_5:
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_syscall
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_curthread,8,3                  ; @curthread
	.comm	_PSR_I,4,2                      ; @PSR_I
	.comm	_PSR_F,4,2                      ; @PSR_F
.subsections_via_symbols
