	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function s390_extract_operand
_s390_extract_operand:                  ## @s390_extract_operand
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rsi), %r9d
	movl	4(%rsi), %r8d
	leal	7(%r9), %eax
	testl	%r9d, %r9d
	cmovnsl	%r9d, %eax
	sarl	$3, %eax
	cltq
	addq	%rdi, %rax
	movl	%r9d, %ecx
	andl	$7, %ecx
	addl	%r8d, %ecx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %edx
	movl	%edi, %ecx
	shll	$8, %ecx
	movzbl	(%rax), %edi
	incq	%rax
	orl	%ecx, %edi
	leal	-8(%rdx), %ecx
	cmpl	$8, %edx
	jg	LBB0_1
## %bb.2:
	negb	%cl
                                        ## kill: def $cl killed $cl killed $ecx
	shrl	%cl, %edi
	leal	-1(%r8), %ecx
	movl	$2, %eax
	shll	%cl, %eax
	decl	%eax
	andl	%edi, %eax
	cmpl	$20, %r8d
	jne	LBB0_5
## %bb.3:
	cmpl	$20, %r9d
	jne	LBB0_5
## %bb.4:
	movzbl	%al, %edx
	shll	$12, %edx
	shrl	$8, %eax
	andl	$4095, %eax                     ## imm = 0xFFF
	orl	%edx, %eax
LBB0_5:
	movl	8(%rsi), %edx
	movq	_S390_OPERAND_SIGNED@GOTPCREL(%rip), %rdi
	movq	_S390_OPERAND_PCREL@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	(%rdi), %edi
	orl	%esi, %edi
	testl	%edx, %edi
	je	LBB0_8
## %bb.6:
	btl	%ecx, %eax
	jae	LBB0_8
## %bb.7:
	movl	$-2, %edi
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edi
	orl	%edi, %eax
LBB0_8:
	testl	%edx, %esi
	setne	%cl
	shll	%cl, %eax
	movq	_S390_OPERAND_LENGTH@GOTPCREL(%rip), %rcx
	andl	(%rcx), %edx
	cmpl	$1, %edx
	sbbl	$-1, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_S390_OPERAND_SIGNED,4,2        ## @S390_OPERAND_SIGNED
	.comm	_S390_OPERAND_PCREL,4,2         ## @S390_OPERAND_PCREL
	.comm	_S390_OPERAND_LENGTH,4,2        ## @S390_OPERAND_LENGTH
	.no_dead_strip	_s390_extract_operand
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function s390_extract_operand
_s390_extract_operand:                  ; @s390_extract_operand
	.cfi_startproc
; %bb.0:
	mov	w10, #0
	ldp	w8, w9, [x1]
	add	w11, w8, #7
	cmp	w8, #0
	csel	w11, w11, w8, lt
	asr	w11, w11, #3
	add	x12, x0, w11, sxtw
	and	w11, w8, #0x7
	add	w11, w11, w9
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w13, [x12], #1
	bfi	w13, w10, #8, #24
	mov	x10, x13
	subs	w11, w11, #8
	b.gt	LBB0_1
; %bb.2:
	neg	w10, w11
	lsr	w10, w13, w10
	sub	w11, w9, #1
	mov	w12, #2
	lsl	w12, w12, w11
	sub	w12, w12, #1
	and	w10, w10, w12
	ubfx	w12, w10, #8, #12
	bfi	w12, w10, #12, #8
	cmp	w8, #20
	csel	w8, w10, w12, ne
	cmp	w9, #20
	csel	w8, w10, w8, ne
	ldr	w9, [x1, #8]
Lloh0:
	adrp	x10, _S390_OPERAND_SIGNED@GOTPAGE
Lloh1:
	ldr	x10, [x10, _S390_OPERAND_SIGNED@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
Lloh3:
	adrp	x12, _S390_OPERAND_PCREL@GOTPAGE
Lloh4:
	ldr	x12, [x12, _S390_OPERAND_PCREL@GOTPAGEOFF]
Lloh5:
	ldr	w12, [x12]
	orr	w10, w12, w10
	lsr	w13, w8, w11
	mov	w14, #-2
	lsl	w11, w14, w11
	orr	w11, w8, w11
	tst	w13, #0x1
	csel	w11, w8, w11, eq
	tst	w10, w9
	csel	w8, w8, w11, eq
	tst	w12, w9
	cset	w10, ne
	lsl	w8, w8, w10
Lloh6:
	adrp	x10, _S390_OPERAND_LENGTH@GOTPAGE
Lloh7:
	ldr	x10, [x10, _S390_OPERAND_LENGTH@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x10]
	tst	w10, w9
	cinc	w0, w8, ne
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_S390_OPERAND_SIGNED,4,2        ; @S390_OPERAND_SIGNED
	.comm	_S390_OPERAND_PCREL,4,2         ; @S390_OPERAND_PCREL
	.comm	_S390_OPERAND_LENGTH,4,2        ; @S390_OPERAND_LENGTH
	.no_dead_strip	_s390_extract_operand
.subsections_via_symbols
