	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_firmware_info
_update_firmware_info:                  ## @update_firmware_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	32(%rsi), %rax
	movq	(%rax), %r15
	movq	_FW_HDR_H2C_FMT_VER@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movl	(%r15,%rax,8), %edi
	callq	_le16_to_cpu
	movq	%rax, 24(%rbx)
	movq	_FW_HDR_VERSION@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movl	(%r15,%rax,8), %edi
	callq	_le16_to_cpu
	movq	%rax, 16(%rbx)
	movq	_FW_HDR_SUBVERSION@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	(%r15,%rax,8), %rax
	movq	%rax, 8(%rbx)
	movq	_FW_HDR_SUBINDEX@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	(%r15,%rax,8), %rax
	movq	%rax, (%rbx)
	movq	_RTW_DBG_FW@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	movq	24(%rbx), %rcx
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rdi
	callq	_rtw_dbg
	movl	(%r15), %esi
	movq	16(%rbx), %rcx
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rdi
	callq	_rtw_dbg
	movl	(%r15), %esi
	movq	8(%rbx), %rcx
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rdi
	callq	_rtw_dbg
	movl	(%r15), %esi
	movq	(%rbx), %rcx
	leaq	L_.str.3(%rip), %rdx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rtw_dbg                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FW_HDR_H2C_FMT_VER,4,2         ## @FW_HDR_H2C_FMT_VER
	.comm	_FW_HDR_VERSION,4,2             ## @FW_HDR_VERSION
	.comm	_FW_HDR_SUBVERSION,4,2          ## @FW_HDR_SUBVERSION
	.comm	_FW_HDR_SUBINDEX,4,2            ## @FW_HDR_SUBINDEX
	.comm	_RTW_DBG_FW,4,2                 ## @RTW_DBG_FW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"fw h2c version: %x\n"

L_.str.1:                               ## @.str.1
	.asciz	"fw version:     %x\n"

L_.str.2:                               ## @.str.2
	.asciz	"fw sub version: %x\n"

L_.str.3:                               ## @.str.3
	.asciz	"fw sub index:   %x\n"

	.no_dead_strip	_update_firmware_info
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_firmware_info
_update_firmware_info:                  ; @update_firmware_info
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x1, #32]
	ldr	x21, [x8]
Lloh0:
	adrp	x8, _FW_HDR_H2C_FMT_VER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FW_HDR_H2C_FMT_VER@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	lsl	x8, x8, #3
	ldr	w0, [x21, x8]
	bl	_le16_to_cpu
	str	x0, [x20, #24]
Lloh3:
	adrp	x8, _FW_HDR_VERSION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FW_HDR_VERSION@GOTPAGEOFF]
Lloh5:
	ldrsw	x8, [x8]
	lsl	x8, x8, #3
	ldr	w0, [x21, x8]
	bl	_le16_to_cpu
	str	x0, [x20, #16]
Lloh6:
	adrp	x8, _FW_HDR_SUBVERSION@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FW_HDR_SUBVERSION@GOTPAGEOFF]
Lloh8:
	ldrsw	x8, [x8]
	ldr	x8, [x21, x8, lsl #3]
	str	x8, [x20, #8]
Lloh9:
	adrp	x8, _FW_HDR_SUBINDEX@GOTPAGE
Lloh10:
	ldr	x8, [x8, _FW_HDR_SUBINDEX@GOTPAGEOFF]
Lloh11:
	ldrsw	x8, [x8]
	ldr	x8, [x21, x8, lsl #3]
	str	x8, [x20]
Lloh12:
	adrp	x21, _RTW_DBG_FW@GOTPAGE
Lloh13:
	ldr	x21, [x21, _RTW_DBG_FW@GOTPAGEOFF]
	ldr	w1, [x21]
	ldr	x3, [x20, #24]
Lloh14:
	adrp	x2, l_.str@PAGE
Lloh15:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x19
	bl	_rtw_dbg
	ldr	w1, [x21]
	ldr	x3, [x20, #16]
Lloh16:
	adrp	x2, l_.str.1@PAGE
Lloh17:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_rtw_dbg
	ldr	w1, [x21]
	ldr	x3, [x20, #8]
Lloh18:
	adrp	x2, l_.str.2@PAGE
Lloh19:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	bl	_rtw_dbg
	ldr	w1, [x21]
	ldr	x3, [x20]
Lloh20:
	adrp	x2, l_.str.3@PAGE
Lloh21:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_rtw_dbg
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_FW_HDR_H2C_FMT_VER,4,2         ; @FW_HDR_H2C_FMT_VER
	.comm	_FW_HDR_VERSION,4,2             ; @FW_HDR_VERSION
	.comm	_FW_HDR_SUBVERSION,4,2          ; @FW_HDR_SUBVERSION
	.comm	_FW_HDR_SUBINDEX,4,2            ; @FW_HDR_SUBINDEX
	.comm	_RTW_DBG_FW,4,2                 ; @RTW_DBG_FW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"fw h2c version: %x\n"

l_.str.1:                               ; @.str.1
	.asciz	"fw version:     %x\n"

l_.str.2:                               ; @.str.2
	.asciz	"fw sub version: %x\n"

l_.str.3:                               ; @.str.3
	.asciz	"fw sub index:   %x\n"

	.no_dead_strip	_update_firmware_info
.subsections_via_symbols
