	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function srom_infoleaf_info
_srom_infoleaf_info:                    ## @srom_infoleaf_info
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %r14
	callq	_netdev_priv
	movq	%rax, %rbx
	movq	_INFOLEAF_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_1
## %bb.8:
	movq	(%rbx), %rsi
	movq	_infoleaf_array@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	(%rdi), %rsi
	je	LBB0_2
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	incq	%rdx
	addq	$16, %rdi
	cmpq	%rdx, %rcx
	jne	LBB0_9
	jmp	LBB0_11
LBB0_1:
	xorl	%edx, %edx
LBB0_2:
	cmpl	%ecx, %edx
	jne	LBB0_3
LBB0_11:
	movl	$0, 8(%rbx)
	movl	(%r14), %esi
	leaq	L_.str(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_printk
LBB0_12:
	movq	_ENXIO@GOTPCREL(%rip), %rax
	subl	(%rax), %ebx
	jmp	LBB0_14
LBB0_3:
	movq	_infoleaf_array@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%edx, %edx
	shlq	$4, %rdx
	movl	8(%rcx,%rdx), %ecx
	movl	%ecx, 32(%rbx)
	movl	180(%rbx), %ecx
	addq	$236, %rax
	cmpl	$2, %ecx
	jl	LBB0_13
## %bb.4:
	movq	16(%rbx), %rdx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	(%rax), %rdx
	je	LBB0_13
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	addq	$24, %rax
	decl	%ecx
	jne	LBB0_5
## %bb.7:
	movl	$0, 8(%rbx)
	movl	(%r14), %esi
	leaq	L_.str.1(%rip), %rdi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_printk
	jmp	LBB0_12
LBB0_13:
	addq	$8, %rax
	movq	%rax, %rdi
	callq	_get_unaligned_le16
	movl	%eax, 24(%rbx)
	xorl	%ebx, %ebx
LBB0_14:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_INFOLEAF_SIZE,4,2              ## @INFOLEAF_SIZE
	.comm	_infoleaf_array,8,3             ## @infoleaf_array
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: Cannot find correct chipset for SROM decoding!\n"

	.comm	_ENXIO,4,2                      ## @ENXIO
L_.str.1:                               ## @.str.1
	.asciz	"%s: Cannot find correct PCI device [%d] for SROM decoding!\n"

	.no_dead_strip	_srom_infoleaf_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function srom_infoleaf_info
_srom_infoleaf_info:                    ; @srom_infoleaf_info
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x20, x0
	bl	_netdev_priv
	mov	x19, x0
Lloh0:
	adrp	x8, _INFOLEAF_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _INFOLEAF_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.1:
	mov	x9, #0
	ldr	x10, [x19]
Lloh3:
	adrp	x11, _infoleaf_array@GOTPAGE
Lloh4:
	ldr	x11, [x11, _infoleaf_array@GOTPAGEOFF]
Lloh5:
	ldr	x11, [x11]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x11]
	cmp	x10, x12
	b.eq	LBB0_5
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	add	x9, x9, #1
	add	x11, x11, #16
	cmp	x8, x9
	b.ne	LBB0_2
	b	LBB0_6
LBB0_4:
	mov	w9, #0
LBB0_5:
	cmp	w9, w8
	b.ne	LBB0_8
LBB0_6:
	str	wzr, [x19, #8]
	ldr	w1, [x20]
Lloh6:
	adrp	x0, l_.str@PAGE
Lloh7:
	add	x0, x0, l_.str@PAGEOFF
LBB0_7:
	bl	_printk
Lloh8:
	adrp	x8, _ENXIO@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	neg	w0, w8
	b	LBB0_14
LBB0_8:
Lloh11:
	adrp	x8, _infoleaf_array@GOTPAGE
Lloh12:
	ldr	x8, [x8, _infoleaf_array@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	add	x8, x8, w9, uxtw #4
	ldr	w8, [x8, #8]
	str	w8, [x19, #32]
	ldr	w9, [x19, #180]
	add	x8, x19, #236
	cmp	w9, #2
	b.lt	LBB0_13
; %bb.9:
	ldr	x10, [x19, #16]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x8]
	cmp	x10, x11
	b.eq	LBB0_13
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	add	x8, x8, #24
	subs	w9, w9, #1
	b.ne	LBB0_10
; %bb.12:
	str	wzr, [x19, #8]
	ldr	w1, [x20]
	str	x10, [sp]
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_7
LBB0_13:
	add	x0, x8, #8
	bl	_get_unaligned_le16
	mov	x8, x0
	mov	w0, #0
	str	w8, [x19, #24]
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_INFOLEAF_SIZE,4,2              ; @INFOLEAF_SIZE
	.comm	_infoleaf_array,8,3             ; @infoleaf_array
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: Cannot find correct chipset for SROM decoding!\n"

	.comm	_ENXIO,4,2                      ; @ENXIO
l_.str.1:                               ; @.str.1
	.asciz	"%s: Cannot find correct PCI device [%d] for SROM decoding!\n"

	.no_dead_strip	_srom_infoleaf_info
.subsections_via_symbols
