	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ibmasm_wait_for_response       ## -- Begin function ibmasm_wait_for_response
	.p2align	4, 0x90
_ibmasm_wait_for_response:              ## @ibmasm_wait_for_response
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	%esi, %edx
	movl	8(%rdi), %r8d
	movq	(%rdi), %rcx
	movq	_IBMASM_CMD_COMPLETE@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	sete	%al
	movq	_IBMASM_CMD_FAILED@GOTPCREL(%rip), %rsi
	cmpq	(%rsi), %rcx
	sete	%cl
	orb	%al, %cl
	movzbl	%cl, %esi
	movq	_HZ@GOTPCREL(%rip), %rax
	imull	(%rax), %edx
	movl	%r8d, %edi
	popq	%rbp
	jmp	_wait_event_interruptible_timeout ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IBMASM_CMD_COMPLETE,8,3        ## @IBMASM_CMD_COMPLETE
	.comm	_IBMASM_CMD_FAILED,8,3          ## @IBMASM_CMD_FAILED
	.comm	_HZ,4,2                         ## @HZ
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ibmasm_wait_for_response       ; -- Begin function ibmasm_wait_for_response
	.p2align	2
_ibmasm_wait_for_response:              ; @ibmasm_wait_for_response
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0, #8]
	ldr	x9, [x0]
Lloh0:
	adrp	x10, _IBMASM_CMD_COMPLETE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _IBMASM_CMD_COMPLETE@GOTPAGEOFF]
Lloh2:
	ldr	x10, [x10]
	cmp	x9, x10
Lloh3:
	adrp	x10, _IBMASM_CMD_FAILED@GOTPAGE
Lloh4:
	ldr	x10, [x10, _IBMASM_CMD_FAILED@GOTPAGEOFF]
Lloh5:
	ldr	x10, [x10]
	ccmp	x9, x10, #4, ne
Lloh6:
	adrp	x10, _HZ@GOTPAGE
Lloh7:
	ldr	x10, [x10, _HZ@GOTPAGEOFF]
	cset	w9, eq
Lloh8:
	ldr	w10, [x10]
	mul	w2, w10, w1
	mov	x0, x8
	mov	x1, x9
	b	_wait_event_interruptible_timeout
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IBMASM_CMD_COMPLETE,8,3        ; @IBMASM_CMD_COMPLETE
	.comm	_IBMASM_CMD_FAILED,8,3          ; @IBMASM_CMD_FAILED
	.comm	_HZ,4,2                         ; @HZ
.subsections_via_symbols
