	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bad_mkey
_bad_mkey:                              ## @bad_mkey
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r13d
	movq	%rsi, %r14
	movq	%rdi, %r12
	callq	_ppd_from_ibp
	movl	(%rax), %edx
	movq	_IB_NOTICE_TYPE_SECURITY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_OPA_TRAP_BAD_M_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_create_trap_node
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	movl	36(%rax), %eax
	movl	%eax, 32(%rbx)
	movl	16(%r14), %eax
	movl	%eax, 28(%rbx)
	movl	12(%r14), %eax
	movl	%eax, 24(%rbx)
	movl	8(%r14), %eax
	movl	%eax, 20(%rbx)
	movl	%r13d, 16(%rbx)
	movq	(%r14), %rax
	movq	_IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_5
## %bb.2:
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 12(%rbx)
	movq	_IB_NOTICE_TRAP_DR_NOTICE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rbx)
	movl	4(%rbx), %edi
	callq	_ARRAY_SIZE
	cmpl	%r15d, %eax
	jge	LBB0_4
## %bb.3:
	movq	_IB_NOTICE_TRAP_DR_TRUNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 8(%rbx)
	movl	4(%rbx), %edi
	callq	_ARRAY_SIZE
	movl	%eax, %r15d
LBB0_4:
	orl	%r15d, 8(%rbx)
	movl	4(%rbx), %edi
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movl	%r15d, %edx
	callq	_memcpy
LBB0_5:
	movl	$36, (%rbx)
	movq	%r12, %rdi
	movq	%rbx, %rsi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_send_trap                      ## TAILCALL
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_IB_NOTICE_TYPE_SECURITY,4,2    ## @IB_NOTICE_TYPE_SECURITY
	.comm	_OPA_TRAP_BAD_M_KEY,4,2         ## @OPA_TRAP_BAD_M_KEY
	.comm	_IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE,8,3 ## @IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE
	.comm	_IB_NOTICE_TRAP_DR_NOTICE,4,2   ## @IB_NOTICE_TRAP_DR_NOTICE
	.comm	_IB_NOTICE_TRAP_DR_TRUNC,4,2    ## @IB_NOTICE_TRAP_DR_TRUNC
	.no_dead_strip	_bad_mkey
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bad_mkey
_bad_mkey:                              ; @bad_mkey
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x5
	mov	x20, x4
	mov	x23, x3
	mov	x25, x2
	mov	x24, x1
	mov	x19, x0
	bl	_ppd_from_ibp
	ldr	w2, [x0]
Lloh0:
	adrp	x8, _IB_NOTICE_TYPE_SECURITY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IB_NOTICE_TYPE_SECURITY@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _OPA_TRAP_BAD_M_KEY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OPA_TRAP_BAD_M_KEY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	bl	_create_trap_node
	cbz	x0, LBB0_6
; %bb.1:
	mov	x22, x0
	ldr	w8, [x0, #36]
	ldr	w9, [x24, #16]
	stp	w9, w8, [x0, #28]
	ldr	d0, [x24, #8]
	stur	d0, [x0, #20]
	str	w25, [x0, #16]
	ldr	x8, [x24]
Lloh6:
	adrp	x9, _IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
Lloh9:
	adrp	x8, _IB_NOTICE_TRAP_DR_NOTICE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _IB_NOTICE_TRAP_DR_NOTICE@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	stp	w8, w23, [x22, #8]
	ldr	w0, [x22, #4]
	bl	_ARRAY_SIZE
	cmp	w0, w21
	b.ge	LBB0_4
; %bb.3:
Lloh12:
	adrp	x8, _IB_NOTICE_TRAP_DR_TRUNC@GOTPAGE
Lloh13:
	ldr	x8, [x8, _IB_NOTICE_TRAP_DR_TRUNC@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldp	w0, w9, [x22, #4]
	orr	w8, w9, w8
	str	w8, [x22, #8]
	bl	_ARRAY_SIZE
	mov	x21, x0
LBB0_4:
	ldp	w0, w8, [x22, #4]
	orr	w8, w8, w21
	str	w8, [x22, #8]
	mov	x1, x20
	mov	x2, x21
	bl	_memcpy
LBB0_5:
	mov	w8, #36
	str	w8, [x22]
	mov	x0, x19
	mov	x1, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	_send_trap
LBB0_6:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_IB_NOTICE_TYPE_SECURITY,4,2    ; @IB_NOTICE_TYPE_SECURITY
	.comm	_OPA_TRAP_BAD_M_KEY,4,2         ; @OPA_TRAP_BAD_M_KEY
	.comm	_IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE,8,3 ; @IB_MGMT_CLASS_SUBN_DIRECTED_ROUTE
	.comm	_IB_NOTICE_TRAP_DR_NOTICE,4,2   ; @IB_NOTICE_TRAP_DR_NOTICE
	.comm	_IB_NOTICE_TRAP_DR_TRUNC,4,2    ; @IB_NOTICE_TRAP_DR_TRUNC
	.no_dead_strip	_bad_mkey
.subsections_via_symbols
