	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function nsim_dev_trap_report
_nsim_dev_trap_report:                  ## @nsim_dev_trap_report
	.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
	movq	%rdi, -64(%rbp)                 ## 8-byte Spill
	movq	8(%rdi), %rax
	movq	8(%rax), %rbx
	movq	%rbx, %rdi
	callq	_priv_to_devlink
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %r12
	movq	%r12, %rdi
	callq	_spin_lock
	movq	_nsim_traps_arr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ARRAY_SIZE
	testl	%eax, %eax
	jle	LBB0_6
## %bb.1:
	movl	$8, %r15d
	xorl	%r13d, %r13d
	movq	%r12, -48(%rbp)                 ## 8-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%r13
	movq	_nsim_traps_arr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_ARRAY_SIZE
	cltq
	addq	$16, %r15
	cmpq	%rax, %r13
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r12), %r14
	movq	-8(%r14,%r15), %rax
	movq	_DEVLINK_TRAP_ACTION_DROP@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	xorl	%eax, %eax
	callq	_nsim_dev_trap_skb_build
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	8(%r12), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	xorl	%eax, %eax
	callq	_local_bh_disable
	movl	(%r14,%r15), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r12, %rcx
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	callq	_devlink_trap_report
	xorl	%eax, %eax
	callq	_local_bh_enable
	movq	%rbx, %rdi
	callq	_consume_skb
	jmp	LBB0_5
LBB0_6:
	movq	%r12, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_spin_unlock                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_nsim_traps_arr,4,2             ## @nsim_traps_arr
	.comm	_DEVLINK_TRAP_ACTION_DROP,8,3   ## @DEVLINK_TRAP_ACTION_DROP
	.no_dead_strip	_nsim_dev_trap_report
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function nsim_dev_trap_report
_nsim_dev_trap_report:                  ; @nsim_dev_trap_report
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x20, [x8, #8]
	mov	x0, x20
	bl	_priv_to_devlink
	mov	x21, x0
	ldr	x20, [x20]
	mov	x0, x20
	bl	_spin_lock
Lloh0:
	adrp	x23, _nsim_traps_arr@GOTPAGE
Lloh1:
	ldr	x23, [x23, _nsim_traps_arr@GOTPAGEOFF]
	ldr	w0, [x23]
	bl	_ARRAY_SIZE
	cmp	w0, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x24, #0
	mov	x25, #0
Lloh2:
	adrp	x26, _DEVLINK_TRAP_ACTION_DROP@GOTPAGE
Lloh3:
	ldr	x26, [x26, _DEVLINK_TRAP_ACTION_DROP@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x25, x25, #1
	ldr	w0, [x23]
	bl	_ARRAY_SIZE
	add	x24, x24, #16
	cmp	x25, w0, sxtw
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x27, [x20, #8]
	ldr	x8, [x27, x24]
	ldr	x9, [x26]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	bl	_nsim_dev_trap_skb_build
	cbz	x0, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x22, x0
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	str	w8, [x0]
	bl	_local_bh_disable
	add	x8, x27, x24
	ldr	w2, [x8, #8]
	mov	x0, x21
	mov	x1, x22
	mov	x3, x19
	bl	_devlink_trap_report
	bl	_local_bh_enable
	mov	x0, x22
	bl	_consume_skb
	b	LBB0_2
LBB0_6:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_spin_unlock
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_nsim_traps_arr,4,2             ; @nsim_traps_arr
	.comm	_DEVLINK_TRAP_ACTION_DROP,8,3   ; @DEVLINK_TRAP_ACTION_DROP
	.no_dead_strip	_nsim_dev_trap_report
.subsections_via_symbols
