	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function emit_br_relo
_emit_br_relo:                          ## @emit_br_relo
	.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
	movl	%r8d, %r14d
	movl	%ecx, %r9d
	movl	%edx, %r8d
	movq	%rdi, %rbx
	movq	_BR_UNC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	$3, %ecx
	jl	LBB0_3
## %bb.1:
	cmpl	%esi, %eax
	jne	LBB0_3
## %bb.2:
	leaq	L_.str(%rip), %rdi
	movl	%r9d, %esi
	callq	_pr_err
	movq	_EFAULT@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	subl	(%rax), %ecx
	movl	%ecx, 16(%rbx)
	jmp	LBB0_7
LBB0_3:
	cmpl	%esi, %eax
	jne	LBB0_4
## %bb.5:
	movq	_BR_EV_PIP_UNCOND@GOTPCREL(%rip), %rax
	jmp	LBB0_6
LBB0_4:
	movq	_BR_EV_PIP_COND@GOTPCREL(%rip), %rax
LBB0_6:
	movl	(%rax), %edx
	movq	_BR_CSS_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rbx, %rdi
	callq	___emit_br
	movq	_OP_RELO_TYPE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%r14d, %esi
	callq	_FIELD_PREP
	movq	8(%rbx), %rcx
	movslq	(%rbx), %rdx
	orl	%eax, -4(%rcx,%rdx,4)
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BR_UNC,4,2                     ## @BR_UNC
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"BUG: branch defer out of bounds %d\n"

	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_BR_EV_PIP_COND,4,2             ## @BR_EV_PIP_COND
	.comm	_BR_EV_PIP_UNCOND,4,2           ## @BR_EV_PIP_UNCOND
	.comm	_BR_CSS_NONE,4,2                ## @BR_CSS_NONE
	.comm	_OP_RELO_TYPE,4,2               ## @OP_RELO_TYPE
	.no_dead_strip	_emit_br_relo
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function emit_br_relo
_emit_br_relo:                          ; @emit_br_relo
	.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
	mov	x20, x4
	mov	x5, x3
	mov	x4, x2
	mov	x19, x0
Lloh0:
	adrp	x8, _BR_UNC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BR_UNC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w3, #3
	b.lt	LBB0_3
; %bb.1:
	cmp	w8, w1
	b.ne	LBB0_3
; %bb.2:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x5
	bl	_pr_err
Lloh5:
	adrp	x8, _EFAULT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w8, w8
	str	w8, [x19, #16]
	b	LBB0_4
LBB0_3:
Lloh8:
	adrp	x9, _BR_EV_PIP_COND@GOTPAGE
Lloh9:
	ldr	x9, [x9, _BR_EV_PIP_COND@GOTPAGEOFF]
Lloh10:
	adrp	x10, _BR_EV_PIP_UNCOND@GOTPAGE
Lloh11:
	ldr	x10, [x10, _BR_EV_PIP_UNCOND@GOTPAGEOFF]
	cmp	w8, w1
	csel	x8, x10, x9, eq
	ldr	w2, [x8]
Lloh12:
	adrp	x8, _BR_CSS_NONE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _BR_CSS_NONE@GOTPAGEOFF]
Lloh14:
	ldr	w3, [x8]
	mov	x0, x19
	bl	___emit_br
Lloh15:
	adrp	x8, _OP_RELO_TYPE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _OP_RELO_TYPE@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_FIELD_PREP
	ldr	x8, [x19, #8]
	ldrsw	x9, [x19]
	add	x8, x8, x9, lsl #2
	ldur	w9, [x8, #-4]
	orr	w9, w9, w0
	stur	w9, [x8, #-4]
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_BR_UNC,4,2                     ; @BR_UNC
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"BUG: branch defer out of bounds %d\n"

	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_BR_EV_PIP_COND,4,2             ; @BR_EV_PIP_COND
	.comm	_BR_EV_PIP_UNCOND,4,2           ; @BR_EV_PIP_UNCOND
	.comm	_BR_CSS_NONE,4,2                ; @BR_CSS_NONE
	.comm	_OP_RELO_TYPE,4,2               ; @OP_RELO_TYPE
	.no_dead_strip	_emit_br_relo
.subsections_via_symbols
