	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function unset_trap
_unset_trap:                            ## @unset_trap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_RES_LPTRAP@GOTPCREL(%rip), %rax
	andl	(%rax), %esi
	jne	LBB0_1
## %bb.2:
	movq	_TRAP_TYPE_PRIO@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movq	_TRAP_TYPE_NONPRIO@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edx
	movl	(%rdi), %esi
	addq	$4, %rdi
	callq	_ctlclrtrap
	testl	%eax, %eax
	jne	LBB0_5
## %bb.4:
	movq	_CERR_BADASSOC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ctl_error
LBB0_5:
	xorl	%edi, %edi
	popq	%rbp
	jmp	_ctl_flushpkt                   ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TRAP_TYPE_PRIO,4,2             ## @TRAP_TYPE_PRIO
	.comm	_RES_LPTRAP,4,2                 ## @RES_LPTRAP
	.comm	_TRAP_TYPE_NONPRIO,4,2          ## @TRAP_TYPE_NONPRIO
	.comm	_CERR_BADASSOC,4,2              ## @CERR_BADASSOC
	.no_dead_strip	_unset_trap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function unset_trap
_unset_trap:                            ; @unset_trap
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _RES_LPTRAP@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RES_LPTRAP@GOTPAGEOFF]
Lloh2:
	adrp	x9, _TRAP_TYPE_PRIO@GOTPAGE
Lloh3:
	ldr	x9, [x9, _TRAP_TYPE_PRIO@GOTPAGEOFF]
Lloh4:
	adrp	x10, _TRAP_TYPE_NONPRIO@GOTPAGE
Lloh5:
	ldr	x10, [x10, _TRAP_TYPE_NONPRIO@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	tst	w8, w1
	csel	x8, x9, x10, eq
	ldr	w2, [x8]
	ldr	w1, [x0], #4
	bl	_ctlclrtrap
	cbnz	w0, LBB0_2
; %bb.1:
Lloh7:
	adrp	x8, _CERR_BADASSOC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CERR_BADASSOC@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_ctl_error
LBB0_2:
	mov	w0, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_ctl_flushpkt
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_TRAP_TYPE_PRIO,4,2             ; @TRAP_TYPE_PRIO
	.comm	_RES_LPTRAP,4,2                 ; @RES_LPTRAP
	.comm	_TRAP_TYPE_NONPRIO,4,2          ; @TRAP_TYPE_NONPRIO
	.comm	_CERR_BADASSOC,4,2              ; @CERR_BADASSOC
	.no_dead_strip	_unset_trap
.subsections_via_symbols
