	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_bfi
_do_bfi:                                ## @do_bfi
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_inst@GOTPCREL(%rip), %r14
	movq	8(%r14), %rax
	cmpl	$0, 20(%rax)
	jne	LBB0_2
## %bb.1:
	movq	_REG_PC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 12(%rax)
LBB0_2:
	movl	40(%rax), %ebx
	addl	28(%rax), %ebx
	xorl	%r15d, %r15d
	cmpl	$33, %ebx
	setae	%r15b
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%r15d, %edi
	movl	%eax, %esi
	callq	_constraint
	movq	8(%r14), %rax
	movl	(%rax), %ecx
	movl	28(%rax), %edx
	shll	$12, %ecx
	orl	(%r14), %ecx
	orl	12(%rax), %ecx
	shll	$7, %edx
	shll	$16, %ebx
	addl	$-65536, %ebx                   ## imm = 0xFFFF0000
	orl	%edx, %ebx
	orl	%ecx, %ebx
	movl	%ebx, (%r14)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_inst,16,3                      ## @inst
	.comm	_REG_PC,4,2                     ## @REG_PC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bit-field extends past end of register"

	.no_dead_strip	_do_bfi
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_bfi
_do_bfi:                                ; @do_bfi
	.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
Lloh0:
	adrp	x20, _inst@GOTPAGE
Lloh1:
	ldr	x20, [x20, _inst@GOTPAGEOFF]
	ldr	x8, [x20, #8]
	ldr	w9, [x8, #20]
	cbnz	w9, LBB0_2
; %bb.1:
Lloh2:
	adrp	x9, _REG_PC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _REG_PC@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	str	w9, [x8, #12]
LBB0_2:
	ldr	w9, [x8, #28]
	ldr	w8, [x8, #40]
	add	w21, w8, w9
	cmp	w21, #32
	cset	w19, hi
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	mov	x1, x0
	mov	x0, x19
	bl	_constraint
	ldr	x8, [x20, #8]
	ldr	w9, [x8]
	ldr	w10, [x20]
	orr	w9, w10, w9, lsl #12
	ldr	w10, [x8, #12]
	orr	w9, w10, w9
	ldr	w8, [x8, #28]
	lsl	w10, w21, #16
	sub	w10, w10, #16, lsl #12          ; =65536
	orr	w9, w9, w10
	orr	w8, w9, w8, lsl #7
	str	w8, [x20]
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_inst,16,3                      ; @inst
	.comm	_REG_PC,4,2                     ; @REG_PC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bit-field extends past end of register"

	.no_dead_strip	_do_bfi
.subsections_via_symbols
