	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dwmac5_safety_feat_dump        ## -- Begin function dwmac5_safety_feat_dump
	.p2align	4, 0x90
_dwmac5_safety_feat_dump:               ## @dwmac5_safety_feat_dump
	.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	%esi, %r13d
	leal	31(%r13), %ebx
	testl	%esi, %esi
	cmovnsl	%esi, %ebx
	movq	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rdx, %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	%ebx, %r12d
	sarl	$5, %r12d
	movq	_dwmac5_all_errors@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	callq	_ARRAY_SIZE
	cmpl	%eax, %r12d
	jge	LBB0_1
## %bb.2:
	andl	$-32, %ebx
	movl	%r13d, %eax
	subl	%ebx, %eax
	movq	(%r14), %rcx
	movslq	%r12d, %rdx
	movq	(%rcx,%rdx,8), %rcx
	movslq	%eax, %rdx
	shlq	$4, %rdx
	cmpl	$0, 8(%rcx,%rdx)
	je	LBB0_1
## %bb.3:
	testq	%r15, %r15
	je	LBB0_5
## %bb.4:
	movslq	%r13d, %rax
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	(%rsi,%rax,8), %rax
	movq	%rax, (%r15)
LBB0_5:
	xorl	%eax, %eax
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.6:
	movq	(%rcx,%rdx), %rcx
	movq	%rcx, (%rsi)
	jmp	LBB0_7
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
LBB0_7:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_dwmac5_all_errors,8,3          ## @dwmac5_all_errors
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dwmac5_safety_feat_dump        ; -- Begin function dwmac5_safety_feat_dump
	.p2align	2
_dwmac5_safety_feat_dump:               ; @dwmac5_safety_feat_dump
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	add	w8, w1, #31
	cmp	w1, #0
	csel	w8, w8, w1, lt
	asr	w23, w8, #5
Lloh0:
	adrp	x24, _dwmac5_all_errors@GOTPAGE
Lloh1:
	ldr	x24, [x24, _dwmac5_all_errors@GOTPAGEOFF]
	ldr	x0, [x24]
	bl	_ARRAY_SIZE
	cmp	w23, w0
	b.ge	LBB0_6
; %bb.1:
	sub	w9, w21, w23, lsl #5
	ldr	x8, [x24]
	ldr	x8, [x8, w23, sxtw #3]
	add	x10, x8, w9, sxtw #4
	ldr	w10, [x10, #8]
	cbz	w10, LBB0_6
; %bb.2:
	cbz	x20, LBB0_4
; %bb.3:
	ldr	x10, [x22, w21, sxtw #3]
	str	x10, [x20]
LBB0_4:
	mov	w0, #0
	cbz	x19, LBB0_7
; %bb.5:
	sxtw	x9, w9
	lsl	x9, x9, #4
	ldr	x8, [x8, x9]
	str	x8, [x19]
	b	LBB0_7
LBB0_6:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_7:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_dwmac5_all_errors,8,3          ; @dwmac5_all_errors
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
