	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_get_cmd_string             ## -- Begin function iwl_get_cmd_string
	.p2align	4, 0x90
_iwl_get_cmd_string:                    ## @iwl_get_cmd_string
	.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	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %ebx
	movq	%rdi, %r12
	movl	%esi, %edi
	callq	_iwl_cmd_groupid
	movq	%rax, %r15
	movl	%ebx, %edi
	callq	_iwl_cmd_opcode
	movq	%rax, -40(%rbp)
	movq	8(%r12), %rax
	leaq	L_.str(%rip), %r14
	testq	%rax, %rax
	je	LBB0_5
## %bb.1:
	cmpq	(%r12), %r15
	jae	LBB0_5
## %bb.2:
	movl	4(%rax,%r15,8), %esi
	testl	%esi, %esi
	je	LBB0_5
## %bb.3:
	movl	(%rax,%r15,8), %edx
	movq	_iwl_hcmd_names_cmp@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-40(%rbp), %rdi
	movl	$8, %ecx
	callq	_bsearch
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	(%rax), %r14
LBB0_5:
	movq	%r14, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"UNKNOWN"

	.comm	_iwl_hcmd_names_cmp,4,2         ## @iwl_hcmd_names_cmp
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_iwl_get_cmd_string             ; -- Begin function iwl_get_cmd_string
	.p2align	2
_iwl_get_cmd_string:                    ; @iwl_get_cmd_string
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x21, x1
	mov	x20, x0
	mov	x0, x1
	bl	_iwl_cmd_groupid
	mov	x19, x0
	mov	x0, x21
	bl	_iwl_cmd_opcode
	str	x0, [sp, #8]
	ldr	x8, [x20, #8]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	x9, [x20]
	cmp	x19, x9
	b.hs	LBB0_5
; %bb.2:
	add	x9, x8, x19, lsl #3
	ldr	w1, [x9, #4]
	cbz	w1, LBB0_5
; %bb.3:
	lsl	x9, x19, #3
	ldr	w2, [x8, x9]
Lloh0:
	adrp	x8, _iwl_hcmd_names_cmp@GOTPAGE
Lloh1:
	ldr	x8, [x8, _iwl_hcmd_names_cmp@GOTPAGEOFF]
Lloh2:
	ldr	w4, [x8]
	add	x0, sp, #8
	mov	w3, #8
	bl	_bsearch
	cbz	x0, LBB0_5
; %bb.4:
	ldr	x0, [x0]
	b	LBB0_6
LBB0_5:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"UNKNOWN"

	.comm	_iwl_hcmd_names_cmp,4,2         ; @iwl_hcmd_names_cmp
.subsections_via_symbols
