	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmd_handler_srm
_cmd_handler_srm:                       ## @cmd_handler_srm
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	callq	_cmd_length
	movl	%eax, %r14d
	xorl	%eax, %eax
	cmpl	$2, %r14d
	jl	LBB0_9
## %bb.1:
	movl	$1, %ebx
	leaq	L_.str(%rip), %r15
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movq	%r15, %rsi
	movl	$4, %edx
	xorl	%ecx, %ecx
	callq	_cmd_address_audit
	testl	%eax, %eax
	movq	%r14, %r15
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	jne	LBB0_9
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	callq	_gmadr_dw_number
	addl	%eax, %r13d
	movl	%r13d, %ebx
	cmpl	%r14d, %r13d
	jge	LBB0_8
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_cmd_reg
	movq	%r12, %rdi
	movl	%eax, %esi
	movl	%ebx, %edx
	movq	%r15, %rcx
	callq	_cmd_reg_handler
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_cmd_val
	leal	1(%rbx), %r13d
	testl	$4194304, %eax                  ## imm = 0x400000
	je	LBB0_7
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r15, %r14
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_cmd_gma
	movq	%rax, %r15
	cmpl	$8, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	addl	$2, %ebx
	movq	%r12, %rdi
	movl	%ebx, %esi
	callq	_cmd_gma_hi
	jmp	LBB0_6
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"srm"

	.no_dead_strip	_cmd_handler_srm
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmd_handler_srm
_cmd_handler_srm:                       ; @cmd_handler_srm
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	x8, [x0]
	ldr	x8, [x8]
	ldr	w25, [x8]
	bl	_cmd_length
	cmp	w0, #2
	b.lt	LBB0_8
; %bb.1:
	mov	x20, x0
	mov	w22, #1
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x24
	mov	w2, #4
	mov	w3, #0
	bl	_cmd_address_audit
	cbnz	w0, LBB0_9
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	bl	_gmadr_dw_number
	add	w22, w23, w0
	cmp	w22, w20
	b.ge	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	x1, x22
	bl	_cmd_reg
	mov	x1, x0
	mov	x0, x19
	mov	x2, x22
	mov	x3, x21
	bl	_cmd_reg_handler
	cbnz	w0, LBB0_9
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	w1, #0
	bl	_cmd_val
	add	w23, w22, #1
	tbz	w0, #22, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x19
	mov	x1, x23
	bl	_cmd_gma
	mov	x24, x0
	cmp	w25, #8
	b.ne	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	add	w1, w22, #2
	mov	x0, x19
	bl	_cmd_gma_hi
	b	LBB0_2
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"srm"

	.no_dead_strip	_cmd_handler_srm
.subsections_via_symbols
