	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ipw_ethtool_get_drvinfo
_ipw_ethtool_get_drvinfo:               ## @ipw_ethtool_get_drvinfo
	.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	%r12
	pushq	%rbx
	subq	$144, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	callq	_libipw_priv
	movq	%rax, %rbx
	movl	12(%r14), %edi
	movq	_DRV_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_strlcpy
	movl	8(%r14), %edi
	movq	_DRV_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edx
	callq	_strlcpy
	leaq	-112(%rbp), %r15
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	$64, %edx
	callq	_ipw2100_get_fwversion
	leaq	-176(%rbp), %r12
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	$64, %edx
	callq	_ipw2100_get_ucodeversion
	movl	4(%r14), %edi
	movl	(%rbx), %r8d
	leaq	L_.str(%rip), %rdx
	movl	$4, %esi
	movq	%r15, %rcx
	movq	%r12, %r9
	callq	_snprintf
	movl	(%r14), %r14d
	movl	4(%rbx), %edi
	callq	_pci_name
	movl	%r14d, %edi
	movl	%eax, %esi
	movl	$4, %edx
	callq	_strlcpy
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$144, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DRV_NAME,4,2                   ## @DRV_NAME
	.comm	_DRV_VERSION,4,2                ## @DRV_VERSION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s:%d:%s"

	.no_dead_strip	_ipw_ethtool_get_drvinfo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ipw_ethtool_get_drvinfo
_ipw_ethtool_get_drvinfo:               ; @ipw_ethtool_get_drvinfo
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	bl	_libipw_priv
	mov	x20, x0
	ldr	w0, [x19, #12]
Lloh3:
	adrp	x8, _DRV_NAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DRV_NAME@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_strlcpy
	ldr	w0, [x19, #8]
Lloh6:
	adrp	x8, _DRV_VERSION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DRV_VERSION@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	w2, #4
	bl	_strlcpy
	add	x1, sp, #72
	mov	x0, x20
	mov	w2, #64
	bl	_ipw2100_get_fwversion
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #64
	bl	_ipw2100_get_ucodeversion
	ldr	w0, [x19, #4]
	ldr	w4, [x20]
Lloh9:
	adrp	x2, l_.str@PAGE
Lloh10:
	add	x2, x2, l_.str@PAGEOFF
	add	x3, sp, #72
	add	x5, sp, #8
	mov	w1, #4
	bl	_snprintf
	ldr	w19, [x19]
	ldr	w0, [x20, #4]
	bl	_pci_name
	mov	x1, x0
	mov	x0, x19
	mov	w2, #4
	bl	_strlcpy
	ldur	x8, [x29, #-24]
Lloh11:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh12:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DRV_NAME,4,2                   ; @DRV_NAME
	.comm	_DRV_VERSION,4,2                ; @DRV_VERSION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s:%d:%s"

	.no_dead_strip	_ipw_ethtool_get_drvinfo
.subsections_via_symbols
