	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ice_aq_send_driver_ver         ## -- Begin function ice_aq_send_driver_ver
	.p2align	4, 0x90
_ice_aq_send_driver_ver:                ## @ice_aq_send_driver_ver
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r15
	movq	_ice_aqc_opc_driver_ver@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %rdi
	callq	_ice_fill_dflt_direct_cmd_desc
	movq	_ICE_AQ_FLAG_RD@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le16
	orl	%eax, -48(%rbp)
	movups	8(%rbx), %xmm0
	movups	%xmm0, -44(%rbp)
	movq	(%rbx), %rax
	movq	(%rax), %rdi
	callq	_isascii
	xorl	%ecx, %ecx
	testq	%rax, %rax
	je	LBB0_19
## %bb.3:
	movq	(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_19
## %bb.4:
	movq	8(%rax), %rdi
	callq	_isascii
	movl	$1, %ecx
	testq	%rax, %rax
	je	LBB0_19
## %bb.5:
	movq	(%rbx), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_19
## %bb.6:
	movq	16(%rax), %rdi
	callq	_isascii
	movl	$2, %ecx
	testq	%rax, %rax
	je	LBB0_19
## %bb.7:
	movq	(%rbx), %rax
	cmpq	$0, 16(%rax)
	je	LBB0_19
## %bb.8:
	movq	24(%rax), %rdi
	callq	_isascii
	movl	$3, %ecx
	testq	%rax, %rax
	je	LBB0_19
## %bb.9:
	movq	(%rbx), %rax
	cmpq	$0, 24(%rax)
	je	LBB0_19
## %bb.10:
	movq	32(%rax), %rdi
	callq	_isascii
	movl	$4, %ecx
	testq	%rax, %rax
	je	LBB0_19
## %bb.11:
	movq	(%rbx), %rax
	cmpq	$0, 32(%rax)
	je	LBB0_19
## %bb.12:
	movq	40(%rax), %rdi
	callq	_isascii
	movl	$5, %ecx
	testq	%rax, %rax
	je	LBB0_19
## %bb.13:
	movq	(%rbx), %rax
	cmpq	$0, 40(%rax)
	je	LBB0_19
## %bb.14:
	movq	48(%rax), %rdi
	callq	_isascii
	movl	$6, %ecx
	testq	%rax, %rax
	je	LBB0_19
## %bb.15:
	movq	(%rbx), %rax
	cmpq	$0, 48(%rax)
	je	LBB0_19
## %bb.16:
	movq	56(%rax), %rdi
	callq	_isascii
	testq	%rax, %rax
	je	LBB0_17
## %bb.18:
	movq	(%rbx), %rax
	cmpq	$1, 56(%rax)
	movl	$8, %ecx
	sbbl	$0, %ecx
	jmp	LBB0_19
LBB0_1:
	movq	_ICE_ERR_PARAM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_20
LBB0_17:
	movl	$7, %ecx
LBB0_19:
	movq	(%rbx), %rdx
	leaq	-48(%rbp), %rsi
	movq	%r15, %rdi
	movq	%r14, %r8
	callq	_ice_aq_send_cmd
LBB0_20:
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ICE_ERR_PARAM,4,2              ## @ICE_ERR_PARAM
	.comm	_ice_aqc_opc_driver_ver,4,2     ## @ice_aqc_opc_driver_ver
	.comm	_ICE_AQ_FLAG_RD,4,2             ## @ICE_AQ_FLAG_RD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ice_aq_send_driver_ver         ; -- Begin function ice_aq_send_driver_ver
	.p2align	2
_ice_aq_send_driver_ver:                ; @ice_aq_send_driver_ver
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	cbz	x1, LBB0_18
; %bb.1:
	mov	x19, x2
	mov	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _ice_aqc_opc_driver_ver@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ice_aqc_opc_driver_ver@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	add	x0, sp, #8
	bl	_ice_fill_dflt_direct_cmd_desc
Lloh3:
	adrp	x8, _ICE_AQ_FLAG_RD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ICE_AQ_FLAG_RD@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_cpu_to_le16
	ldr	w8, [sp, #8]
	orr	w8, w8, w0
	str	w8, [sp, #8]
	ldur	q0, [x21, #8]
	stur	q0, [sp, #12]
	ldr	x8, [x21]
	ldr	x0, [x8]
	bl	_isascii
	cbz	x0, LBB0_17
; %bb.2:
	ldr	x8, [x21]
	ldr	x9, [x8]
	cbz	x9, LBB0_17
; %bb.3:
	ldr	x0, [x8, #8]
	bl	_isascii
	cbz	x0, LBB0_19
; %bb.4:
	ldr	x8, [x21]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_19
; %bb.5:
	ldr	x0, [x8, #16]
	bl	_isascii
	cbz	x0, LBB0_20
; %bb.6:
	ldr	x8, [x21]
	ldr	x9, [x8, #16]
	cbz	x9, LBB0_20
; %bb.7:
	ldr	x0, [x8, #24]
	bl	_isascii
	cbz	x0, LBB0_21
; %bb.8:
	ldr	x8, [x21]
	ldr	x9, [x8, #24]
	cbz	x9, LBB0_21
; %bb.9:
	ldr	x0, [x8, #32]
	bl	_isascii
	cbz	x0, LBB0_22
; %bb.10:
	ldr	x8, [x21]
	ldr	x9, [x8, #32]
	cbz	x9, LBB0_22
; %bb.11:
	ldr	x0, [x8, #40]
	bl	_isascii
	cbz	x0, LBB0_23
; %bb.12:
	ldr	x8, [x21]
	ldr	x9, [x8, #40]
	cbz	x9, LBB0_23
; %bb.13:
	ldr	x0, [x8, #48]
	bl	_isascii
	cbz	x0, LBB0_24
; %bb.14:
	ldr	x8, [x21]
	ldr	x9, [x8, #48]
	cbz	x9, LBB0_24
; %bb.15:
	ldr	x0, [x8, #56]
	bl	_isascii
	mov	w3, #7
	cbz	x0, LBB0_25
; %bb.16:
	ldr	x8, [x21]
	ldr	x8, [x8, #56]
	cmp	x8, #0
	cinc	w3, w3, ne
	b	LBB0_25
LBB0_17:
	mov	w3, #0
	b	LBB0_25
LBB0_18:
Lloh6:
	adrp	x8, _ICE_ERR_PARAM@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ICE_ERR_PARAM@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	b	LBB0_26
LBB0_19:
	mov	w3, #1
	b	LBB0_25
LBB0_20:
	mov	w3, #2
	b	LBB0_25
LBB0_21:
	mov	w3, #3
	b	LBB0_25
LBB0_22:
	mov	w3, #4
	b	LBB0_25
LBB0_23:
	mov	w3, #5
	b	LBB0_25
LBB0_24:
	mov	w3, #6
LBB0_25:
	ldr	x2, [x21]
	add	x1, sp, #8
	mov	x0, x20
	mov	x4, x19
	bl	_ice_aq_send_cmd
LBB0_26:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ICE_ERR_PARAM,4,2              ; @ICE_ERR_PARAM
	.comm	_ice_aqc_opc_driver_ver,4,2     ; @ice_aqc_opc_driver_ver
	.comm	_ICE_AQ_FLAG_RD,4,2             ; @ICE_AQ_FLAG_RD
.subsections_via_symbols
