	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function find_dmc_fw_offset
_find_dmc_fw_offset:                    ## @find_dmc_fw_offset
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_CSR_DEFAULT_FW_OFFSET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%esi, %esi
	je	LBB0_13
## %bb.1:
	movl	%esi, %r8d
	shlq	$4, %r8
	xorl	%esi, %esi
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpq	$0, (%rdi,%rsi)
	je	LBB0_4
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	$16, %rsi
	cmpq	%rsi, %r8
	je	LBB0_13
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	cmpl	$2, %ecx
	jge	LBB0_3
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movzbl	8(%rdi,%rsi), %r9d
	movzbl	9(%rdi,%rsi), %r10d
	movzbl	(%rdx), %r11d
	cmpb	$42, %r9b
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	%r10b, %r11b
	je	LBB0_12
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpb	%r10b, %r11b
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	%r9b, 1(%rdx)
	je	LBB0_12
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$42, %r10b
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpb	$42, %r9b
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_2 Depth=1
	movl	12(%rdi,%rsi), %eax
	jmp	LBB0_11
LBB0_12:
	movl	12(%rdi,%rsi), %eax
LBB0_13:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CSR_DEFAULT_FW_OFFSET,4,2      ## @CSR_DEFAULT_FW_OFFSET
	.no_dead_strip	_find_dmc_fw_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function find_dmc_fw_offset
_find_dmc_fw_offset:                    ; @find_dmc_fw_offset
	.cfi_startproc
; %bb.0:
	mov	x8, x0
Lloh0:
	adrp	x9, _CSR_DEFAULT_FW_OFFSET@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CSR_DEFAULT_FW_OFFSET@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x9]
	cbz	w1, LBB0_12
; %bb.1:
	mov	w9, w1
	add	x8, x8, #12
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldur	x10, [x8, #-12]
	cbz	x10, LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x8, #16
	subs	x9, x9, #1
	b.eq	LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cmp	w3, #2
	b.ge	LBB0_2
LBB0_5:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldurb	w10, [x8, #-4]
	ldrb	w12, [x2]
	ldurb	w11, [x8, #-3]
	cmp	w10, #42
	ccmp	w12, w11, #0, eq
	b.eq	LBB0_11
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w12, w11
	b.ne	LBB0_8
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldrb	w12, [x2, #1]
	cmp	w12, w10
	b.eq	LBB0_11
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	cmp	w11, #42
	b.ne	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w10, #42
	b.ne	LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x8]
	b	LBB0_3
LBB0_11:
	ldr	w0, [x8]
LBB0_12:
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CSR_DEFAULT_FW_OFFSET,4,2      ; @CSR_DEFAULT_FW_OFFSET
	.no_dead_strip	_find_dmc_fw_offset
.subsections_via_symbols
