	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_bfx
_do_bfx:                                ## @do_bfx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_inst@GOTPCREL(%rip), %r14
	movq	8(%r14), %rax
	movl	24(%rax), %ecx
	addl	16(%rax), %ecx
	xorl	%ebx, %ebx
	cmpl	$33, %ecx
	setge	%bl
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_constraint
	movq	8(%r14), %rax
	movl	4(%rax), %ecx
	shll	$12, %ecx
	orl	(%r14), %ecx
	orl	12(%rax), %ecx
	movl	16(%rax), %edx
	shll	$7, %edx
	movl	24(%rax), %eax
	shll	$16, %eax
	addl	$-65536, %eax                   ## imm = 0xFFFF0000
	orl	%edx, %eax
	orl	%ecx, %eax
	movl	%eax, (%r14)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_inst,16,3                      ## @inst
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bit-field extends past end of register"

	.no_dead_strip	_do_bfx
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_bfx
_do_bfx:                                ; @do_bfx
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x20, _inst@GOTPAGE
Lloh1:
	ldr	x20, [x20, _inst@GOTPAGEOFF]
	ldr	x8, [x20, #8]
	ldr	w9, [x8, #16]
	ldr	w8, [x8, #24]
	add	w8, w8, w9
	cmp	w8, #32
	cset	w19, gt
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x19
	bl	_constraint
	ldr	x8, [x20, #8]
	ldr	w9, [x8, #4]
	ldr	w10, [x20]
	orr	w9, w10, w9, lsl #12
	ldp	w10, w11, [x8, #12]
	orr	w9, w10, w9
	orr	w9, w9, w11, lsl #7
	ldr	w8, [x8, #24]
	lsl	w8, w8, #16
	sub	w8, w8, #16, lsl #12            ; =65536
	orr	w8, w8, w9
	str	w8, [x20]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_inst,16,3                      ; @inst
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bit-field extends past end of register"

	.no_dead_strip	_do_bfx
.subsections_via_symbols
