	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function add_prefix
_add_prefix:                            ## @add_prefix
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	movq	_REX_OPCODE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%edi, %eax
	ja	LBB0_7
## %bb.1:
	addl	$16, %eax
	cmpl	%edi, %eax
	jbe	LBB0_7
## %bb.2:
	movq	_flag_code@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_CODE_64BIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.3:
	movq	_i@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	_REX_PREFIX@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	(%r8,%rcx,4), %edx
	movl	%edx, %esi
	andl	%edi, %esi
	movq	_REX_W@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	jne	LBB0_19
## %bb.4:
	movq	_REX_R@GOTPCREL(%rip), %rax
	movq	_REX_X@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	orl	(%rax), %esi
	movq	_REX_B@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	testl	%edx, %esi
	je	LBB0_6
## %bb.5:
	andl	%edi, %esi
	jne	LBB0_19
LBB0_6:
	movl	%ecx, %eax
	leaq	(%r8,%rax,4), %rcx
	movl	(%r8,%rax,4), %edx
	movl	$1, %eax
	testl	%edx, %edx
	jne	LBB0_18
	jmp	LBB0_17
LBB0_7:
	leal	-128(%rdi), %edx
	cmpl	$11, %edx
	ja	LBB0_9
## %bb.8:
	movq	_SEG_PREFIX@GOTPCREL(%rip), %rcx
	movl	$1, %eax
	leaq	LJTI0_0(%rip), %rsi
	movslq	(%rsi,%rdx,4), %rdx
	addq	%rsi, %rdx
	jmpq	*%rdx
LBB0_10:
	movl	$2, %eax
LBB0_11:
	movq	_LOCKREP_PREFIX@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_12:
	movq	_WAIT_PREFIX@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_14:
	movq	_DATA_PREFIX@GOTPCREL(%rip), %rcx
	jmp	LBB0_15
LBB0_13:
	movq	_ADDR_PREFIX@GOTPCREL(%rip), %rcx
LBB0_15:
	movl	(%rcx), %ecx
	movq	_i@GOTPCREL(%rip), %rdx
	movq	(%rdx), %rdx
	cmpl	$0, (%rdx,%rcx,4)
	je	LBB0_16
LBB0_19:
	leaq	L_.str(%rip), %rdi
	callq	__
	movl	%eax, %edi
	callq	_as_bad
	xorl	%eax, %eax
	popq	%rbp
	retq
LBB0_16:
	leaq	(%rdx,%rcx,4), %rcx
LBB0_17:
	movq	_i@GOTPCREL(%rip), %rdx
	incl	8(%rdx)
	movl	(%rcx), %edx
LBB0_18:
	orl	%edi, %edx
	movl	%edx, (%rcx)
	popq	%rbp
	retq
LBB0_9:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
LJTI0_0:
	.long	L0_0_set_15
	.long	L0_0_set_10
	.long	L0_0_set_10
	.long	L0_0_set_11
	.long	L0_0_set_15
	.long	L0_0_set_12
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_15
	.long	L0_0_set_14
	.long	L0_0_set_15
	.long	L0_0_set_13
	.end_data_region
                                        ## -- End function
	.comm	_REX_OPCODE,4,2                 ## @REX_OPCODE
	.comm	_flag_code,8,3                  ## @flag_code
	.comm	_CODE_64BIT,8,3                 ## @CODE_64BIT
	.comm	_i,16,3                         ## @i
	.comm	_REX_PREFIX,8,3                 ## @REX_PREFIX
	.comm	_REX_W,4,2                      ## @REX_W
	.comm	_REX_R,4,2                      ## @REX_R
	.comm	_REX_X,4,2                      ## @REX_X
	.comm	_REX_B,4,2                      ## @REX_B
	.comm	_SEG_PREFIX,4,2                 ## @SEG_PREFIX
	.comm	_LOCKREP_PREFIX,4,2             ## @LOCKREP_PREFIX
	.comm	_WAIT_PREFIX,4,2                ## @WAIT_PREFIX
	.comm	_ADDR_PREFIX,4,2                ## @ADDR_PREFIX
	.comm	_DATA_PREFIX,4,2                ## @DATA_PREFIX
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"same type of prefix used twice"

	.no_dead_strip	_add_prefix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function add_prefix
_add_prefix:                            ; @add_prefix
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
Lloh0:
	adrp	x8, _REX_OPCODE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _REX_OPCODE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w9, w8, #16
	cmp	w8, w0
	ccmp	w9, w0, #0, ls
	b.ls	LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _flag_code@GOTPAGE
Lloh4:
	ldr	x8, [x8, _flag_code@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
Lloh6:
	adrp	x9, _CODE_64BIT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _CODE_64BIT@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
Lloh9:
	adrp	x8, _i@GOTPAGE
Lloh10:
	ldr	x8, [x8, _i@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
Lloh12:
	adrp	x9, _REX_PREFIX@GOTPAGE
Lloh13:
	ldr	x9, [x9, _REX_PREFIX@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	ldr	w10, [x8, x9, lsl #2]
	and	w11, w10, w0
Lloh15:
	adrp	x12, _REX_W@GOTPAGE
Lloh16:
	ldr	x12, [x12, _REX_W@GOTPAGEOFF]
Lloh17:
	ldr	w12, [x12]
	tst	w11, w12
	b.ne	LBB0_14
; %bb.3:
Lloh18:
	adrp	x11, _REX_R@GOTPAGE
Lloh19:
	ldr	x11, [x11, _REX_R@GOTPAGEOFF]
Lloh20:
	ldr	w11, [x11]
Lloh21:
	adrp	x12, _REX_X@GOTPAGE
Lloh22:
	ldr	x12, [x12, _REX_X@GOTPAGEOFF]
Lloh23:
	ldr	w12, [x12]
	orr	w11, w12, w11
Lloh24:
	adrp	x12, _REX_B@GOTPAGE
Lloh25:
	ldr	x12, [x12, _REX_B@GOTPAGEOFF]
Lloh26:
	ldr	w12, [x12]
	orr	w11, w11, w12
	and	w10, w11, w10
	and	w11, w11, w0
	cmp	w10, #0
	ccmp	w11, #0, #4, ne
	b.ne	LBB0_14
; %bb.4:
	add	x9, x8, w9, uxtw #2
	ldr	w10, [x9]
	mov	w8, #1
	cbnz	w10, LBB0_16
	b	LBB0_15
LBB0_5:
	sub	w10, w0, #128
	cmp	w10, #11
	b.hi	LBB0_18
; %bb.6:
Lloh27:
	adrp	x9, _SEG_PREFIX@GOTPAGE
Lloh28:
	ldr	x9, [x9, _SEG_PREFIX@GOTPAGEOFF]
	mov	w8, #1
Lloh29:
	adrp	x11, lJTI0_0@PAGE
Lloh30:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_7
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_7:
	mov	w8, #2
LBB0_8:
Lloh31:
	adrp	x9, _LOCKREP_PREFIX@GOTPAGE
Lloh32:
	ldr	x9, [x9, _LOCKREP_PREFIX@GOTPAGEOFF]
	b	LBB0_13
LBB0_9:
Lloh33:
	adrp	x9, _WAIT_PREFIX@GOTPAGE
Lloh34:
	ldr	x9, [x9, _WAIT_PREFIX@GOTPAGEOFF]
	b	LBB0_12
LBB0_10:
Lloh35:
	adrp	x9, _DATA_PREFIX@GOTPAGE
Lloh36:
	ldr	x9, [x9, _DATA_PREFIX@GOTPAGEOFF]
	b	LBB0_12
LBB0_11:
Lloh37:
	adrp	x9, _ADDR_PREFIX@GOTPAGE
Lloh38:
	ldr	x9, [x9, _ADDR_PREFIX@GOTPAGEOFF]
LBB0_12:
	mov	w8, #1
LBB0_13:
	ldr	w9, [x9]
Lloh39:
	adrp	x10, _i@GOTPAGE
Lloh40:
	ldr	x10, [x10, _i@GOTPAGEOFF]
Lloh41:
	ldr	x10, [x10]
	add	x9, x10, x9, lsl #2
	ldr	w10, [x9]
	cbz	w10, LBB0_15
LBB0_14:
Lloh42:
	adrp	x0, l_.str@PAGE
Lloh43:
	add	x0, x0, l_.str@PAGEOFF
	bl	__
	bl	_as_bad
	mov	w8, #0
	b	LBB0_17
LBB0_15:
Lloh44:
	adrp	x10, _i@GOTPAGE
Lloh45:
	ldr	x10, [x10, _i@GOTPAGEOFF]
	ldr	w11, [x10, #8]
	add	w11, w11, #1
	str	w11, [x10, #8]
	ldr	w10, [x9]
LBB0_16:
	orr	w10, w10, w0
	str	w10, [x9]
LBB0_17:
	mov	x0, x8
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
LBB0_18:
	bl	_abort
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGot	Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_7-LBB0_7)>>2
	.byte	(LBB0_8-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_9-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_10-LBB0_7)>>2
	.byte	(LBB0_13-LBB0_7)>>2
	.byte	(LBB0_11-LBB0_7)>>2
                                        ; -- End function
	.comm	_REX_OPCODE,4,2                 ; @REX_OPCODE
	.comm	_flag_code,8,3                  ; @flag_code
	.comm	_CODE_64BIT,8,3                 ; @CODE_64BIT
	.comm	_i,16,3                         ; @i
	.comm	_REX_PREFIX,8,3                 ; @REX_PREFIX
	.comm	_REX_W,4,2                      ; @REX_W
	.comm	_REX_R,4,2                      ; @REX_R
	.comm	_REX_X,4,2                      ; @REX_X
	.comm	_REX_B,4,2                      ; @REX_B
	.comm	_SEG_PREFIX,4,2                 ; @SEG_PREFIX
	.comm	_LOCKREP_PREFIX,4,2             ; @LOCKREP_PREFIX
	.comm	_WAIT_PREFIX,4,2                ; @WAIT_PREFIX
	.comm	_ADDR_PREFIX,4,2                ; @ADDR_PREFIX
	.comm	_DATA_PREFIX,4,2                ; @DATA_PREFIX
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"same type of prefix used twice"

	.no_dead_strip	_add_prefix
.subsections_via_symbols
