	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scan_firmware                  ## -- Begin function scan_firmware
	.p2align	4, 0x90
_scan_firmware:                         ## @scan_firmware
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movl	12(%rdi), %edi
	callq	_strlen
	movq	_fw_name_width@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jge	LBB0_2
## %bb.1:
	movl	%eax, (%rcx)
LBB0_2:
	movl	8(%rbx), %edi
	callq	_strlen
	movq	_fw_version_width@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jge	LBB0_4
## %bb.3:
	movl	%eax, (%rcx)
LBB0_4:
	movl	4(%rbx), %edi
	callq	_strlen
	movq	_fw_date_width@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jge	LBB0_6
## %bb.5:
	movl	%eax, (%rcx)
LBB0_6:
	movl	(%rbx), %edi
	callq	_strlen
	movq	_fw_time_width@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jge	LBB0_8
## %bb.7:
	movl	%eax, (%rcx)
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_fw_name_width,4,2              ## @fw_name_width
	.comm	_fw_version_width,4,2           ## @fw_version_width
	.comm	_fw_date_width,4,2              ## @fw_date_width
	.comm	_fw_time_width,4,2              ## @fw_time_width
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_scan_firmware                  ; -- Begin function scan_firmware
	.p2align	2
_scan_firmware:                         ; @scan_firmware
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	w0, [x0, #12]
	bl	_strlen
Lloh0:
	adrp	x8, _fw_name_width@GOTPAGE
Lloh1:
	ldr	x8, [x8, _fw_name_width@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, w0
	b.ge	LBB0_2
; %bb.1:
	str	w0, [x8]
LBB0_2:
	ldr	w0, [x19, #8]
	bl	_strlen
Lloh2:
	adrp	x8, _fw_version_width@GOTPAGE
Lloh3:
	ldr	x8, [x8, _fw_version_width@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, w0
	b.ge	LBB0_4
; %bb.3:
	str	w0, [x8]
LBB0_4:
	ldr	w0, [x19, #4]
	bl	_strlen
Lloh4:
	adrp	x8, _fw_date_width@GOTPAGE
Lloh5:
	ldr	x8, [x8, _fw_date_width@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, w0
	b.ge	LBB0_6
; %bb.5:
	str	w0, [x8]
LBB0_6:
	ldr	w0, [x19]
	bl	_strlen
Lloh6:
	adrp	x8, _fw_time_width@GOTPAGE
Lloh7:
	ldr	x8, [x8, _fw_time_width@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, w0
	b.ge	LBB0_8
; %bb.7:
	str	w0, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_fw_name_width,4,2              ; @fw_name_width
	.comm	_fw_version_width,4,2           ; @fw_version_width
	.comm	_fw_date_width,4,2              ; @fw_date_width
	.comm	_fw_time_width,4,2              ; @fw_time_width
.subsections_via_symbols
