	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fjes_hw_request_info           ## -- Begin function fjes_hw_request_info
	.p2align	4, 0x90
_fjes_hw_request_info:                  ## @fjes_hw_request_info
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	24(%rdi), %r12
	movq	16(%rdi), %r15
	movl	12(%rdi), %edx
	xorl	%r14d, %r14d
	movq	%r12, %rdi
	xorl	%esi, %esi
	callq	_memset
	movl	8(%rbx), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_memset
	movq	_FJES_DEV_COMMAND_INFO_REQ_LEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
	movq	$0, (%r15)
	movl	$0, 8(%r15)
	movq	_FJES_CMD_REQ_INFO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_fjes_hw_issue_request_command
	movl	%eax, %r12d
	movq	%rbx, %rdi
	movq	%r15, %rsi
	callq	_trace_fjes_hw_request_info
	movq	(%rbx), %rax
	movl	(%rax), %edi
	callq	_FJES_DEV_COMMAND_INFO_RES_LEN
	cmpq	(%r15), %rax
	jne	LBB0_1
## %bb.2:
	movq	_FJES_CMD_STATUS_NORMAL@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r12d
	jne	LBB0_5
## %bb.3:
	xorl	%r14d, %r14d
	cmpl	$132, 8(%r15)
	jne	LBB0_4
	jmp	LBB0_10
LBB0_1:
	leaq	L_.str(%rip), %rdi
	callq	_trace_fjes_hw_request_info_err
	movq	_ENOMSG@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_5:
	addl	$-128, %r12d
	cmpl	$3, %r12d
	ja	LBB0_4
## %bb.6:
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%r12,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_4:
	movq	_EPERM@GOTPCREL(%rip), %rax
LBB0_8:
	xorl	%r14d, %r14d
LBB0_9:
	subl	(%rax), %r14d
LBB0_10:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	L_.str.1(%rip), %rdi
	callq	_trace_fjes_hw_request_info_err
	movq	_EBUSY@GOTPCREL(%rip), %rax
	jmp	LBB0_8
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_7
	.long	L0_0_set_4
	.long	L0_0_set_4
	.end_data_region
                                        ## -- End function
	.comm	_FJES_DEV_COMMAND_INFO_REQ_LEN,8,3 ## @FJES_DEV_COMMAND_INFO_REQ_LEN
	.comm	_FJES_CMD_REQ_INFO,4,2          ## @FJES_CMD_REQ_INFO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid res_buf"

	.comm	_ENOMSG,4,2                     ## @ENOMSG
	.comm	_FJES_CMD_STATUS_NORMAL,4,2     ## @FJES_CMD_STATUS_NORMAL
	.comm	_EPERM,4,2                      ## @EPERM
L_.str.1:                               ## @.str.1
	.asciz	"Timeout"

	.comm	_EBUSY,4,2                      ## @EBUSY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fjes_hw_request_info           ; -- Begin function fjes_hw_request_info
	.p2align	2
_fjes_hw_request_info:                  ; @fjes_hw_request_info
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
	ldp	x19, x20, [x0, #16]
	ldr	w2, [x0, #12]
	mov	x0, x20
	mov	w1, #0
	bl	_memset
	ldr	w2, [x21, #8]
	mov	x0, x19
	mov	w1, #0
	bl	_memset
Lloh0:
	adrp	x8, _FJES_DEV_COMMAND_INFO_REQ_LEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FJES_DEV_COMMAND_INFO_REQ_LEN@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [x20]
	str	xzr, [x19]
	str	wzr, [x19, #8]
Lloh3:
	adrp	x8, _FJES_CMD_REQ_INFO@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FJES_CMD_REQ_INFO@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x21
	bl	_fjes_hw_issue_request_command
	mov	x20, x0
	mov	x0, x21
	mov	x1, x19
	bl	_trace_fjes_hw_request_info
	ldr	x8, [x21]
	ldr	w0, [x8]
	bl	_FJES_DEV_COMMAND_INFO_RES_LEN
	ldr	x8, [x19]
	cmp	x0, x8
	b.ne	LBB0_4
; %bb.1:
Lloh6:
	adrp	x8, _FJES_CMD_STATUS_NORMAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FJES_CMD_STATUS_NORMAL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w20, w8
	b.ne	LBB0_5
; %bb.2:
	ldr	w8, [x19, #8]
	cmp	w8, #132
	b.ne	LBB0_7
; %bb.3:
	mov	w0, #0
	b	LBB0_9
LBB0_4:
Lloh9:
	adrp	x0, l_.str@PAGE
Lloh10:
	add	x0, x0, l_.str@PAGEOFF
	bl	_trace_fjes_hw_request_info_err
Lloh11:
	adrp	x8, _ENOMSG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ENOMSG@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
	sub	w8, w20, #128
	cmp	w8, #3
	b.hi	LBB0_7
; %bb.6:
Lloh13:
	adrp	x9, lJTI0_0@PAGE
Lloh14:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_7
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_7:
Lloh15:
	adrp	x8, _EPERM@GOTPAGE
Lloh16:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
LBB0_8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_trace_fjes_hw_request_info_err
Lloh19:
	adrp	x8, _EBUSY@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
                                        ; -- End function
	.comm	_FJES_DEV_COMMAND_INFO_REQ_LEN,8,3 ; @FJES_DEV_COMMAND_INFO_REQ_LEN
	.comm	_FJES_CMD_REQ_INFO,4,2          ; @FJES_CMD_REQ_INFO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid res_buf"

	.comm	_ENOMSG,4,2                     ; @ENOMSG
	.comm	_FJES_CMD_STATUS_NORMAL,4,2     ; @FJES_CMD_STATUS_NORMAL
	.comm	_EPERM,4,2                      ; @EPERM
l_.str.1:                               ; @.str.1
	.asciz	"Timeout"

	.comm	_EBUSY,4,2                      ; @EBUSY
.subsections_via_symbols
