	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bcm2835_rng_start
_bcm2835_rng_start:                     ## @bcm2835_rng_start
	.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	%rdi, %rbx
	callq	_bcm2835_rng_disable_intr
	movq	_RNG_STATUS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_RND_VAL_WARM_CNT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rdi
	callq	_bcm2835_rng_write4
	movq	_RNG_CTRL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	callq	_bcm2835_rng_read4
	movq	_RNG_RBGEN_BIT@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	xorl	%ecx, %ecx
	cmpq	$0, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	_RNG_RBG2X@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
LBB0_2:
	orl	%ecx, %eax
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	%eax, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_bcm2835_rng_write4             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RNG_STATUS,4,2                 ## @RNG_STATUS
	.comm	_RND_VAL_WARM_CNT,4,2           ## @RND_VAL_WARM_CNT
	.comm	_RNG_CTRL,4,2                   ## @RNG_CTRL
	.comm	_RNG_RBGEN_BIT,4,2              ## @RNG_RBGEN_BIT
	.comm	_RNG_RBG2X,4,2                  ## @RNG_RBG2X
	.no_dead_strip	_bcm2835_rng_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bcm2835_rng_start
_bcm2835_rng_start:                     ; @bcm2835_rng_start
	.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	x19, x0
	bl	_bcm2835_rng_disable_intr
Lloh0:
	adrp	x8, _RNG_STATUS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RNG_STATUS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x8, _RND_VAL_WARM_CNT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RND_VAL_WARM_CNT@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_bcm2835_rng_write4
Lloh6:
	adrp	x20, _RNG_CTRL@GOTPAGE
Lloh7:
	ldr	x20, [x20, _RNG_CTRL@GOTPAGEOFF]
	ldr	w1, [x20]
	mov	x0, x19
	bl	_bcm2835_rng_read4
Lloh8:
	adrp	x8, _RNG_RBGEN_BIT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RNG_RBGEN_BIT@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	orr	w8, w8, w0
	ldr	x9, [x19]
Lloh11:
	adrp	x10, _RNG_RBG2X@GOTPAGE
Lloh12:
	ldr	x10, [x10, _RNG_RBG2X@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
	cmp	x9, #0
	csel	w9, wzr, w10, eq
	orr	w2, w8, w9
	ldr	w1, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bcm2835_rng_write4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RNG_STATUS,4,2                 ; @RNG_STATUS
	.comm	_RND_VAL_WARM_CNT,4,2           ; @RND_VAL_WARM_CNT
	.comm	_RNG_CTRL,4,2                   ; @RNG_CTRL
	.comm	_RNG_RBGEN_BIT,4,2              ; @RNG_RBGEN_BIT
	.comm	_RNG_RBG2X,4,2                  ; @RNG_RBG2X
	.no_dead_strip	_bcm2835_rng_start
.subsections_via_symbols
