	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_crypto4xx_get_n_gd             ## -- Begin function crypto4xx_get_n_gd
	.p2align	4, 0x90
_crypto4xx_get_n_gd:                    ## @crypto4xx_get_n_gd
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_PPC4XX_NUM_GD@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpl	%esi, %ecx
	jle	LBB0_1
## %bb.3:
	movl	(%rdi), %r9d
	movl	4(%rdi), %r8d
	addl	%r9d, %esi
	movl	%esi, %eax
	cltd
	idivl	%ecx
	cmpl	%r8d, %r9d
	jle	LBB0_7
## %bb.4:
	cmpl	%r9d, %edx
	jl	LBB0_5
	jmp	LBB0_6
LBB0_7:
	jge	LBB0_6
## %bb.8:
	cmpl	%r9d, %edx
	jl	LBB0_1
LBB0_5:
	cmpl	%r8d, %edx
	jl	LBB0_6
LBB0_1:
	movq	_ERING_WAS_FULL@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	jmp	LBB0_2
LBB0_6:
	movl	%edx, (%rdi)
LBB0_2:
	movl	%r9d, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PPC4XX_NUM_GD,4,2              ## @PPC4XX_NUM_GD
	.comm	_ERING_WAS_FULL,4,2             ## @ERING_WAS_FULL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_crypto4xx_get_n_gd             ; -- Begin function crypto4xx_get_n_gd
	.p2align	2
_crypto4xx_get_n_gd:                    ; @crypto4xx_get_n_gd
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x9, _PPC4XX_NUM_GD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PPC4XX_NUM_GD@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	cmp	w9, w1
	b.le	LBB0_5
; %bb.1:
	mov	x8, x0
	ldr	w0, [x0]
	ldr	w10, [x8, #4]
	add	w11, w0, w1
	sdiv	w12, w11, w9
	msub	w9, w12, w9, w11
	cmp	w0, w10
	b.le	LBB0_3
; %bb.2:
	cmp	w9, w0
	ccmp	w9, w10, #8, lt
	b.ge	LBB0_5
	b	LBB0_6
LBB0_3:
	b.ge	LBB0_6
; %bb.4:
	cmp	w9, w0
	ccmp	w9, w10, #0, ge
	b.lt	LBB0_6
LBB0_5:
Lloh3:
	adrp	x8, _ERING_WAS_FULL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERING_WAS_FULL@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ret
LBB0_6:
	str	w9, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_PPC4XX_NUM_GD,4,2              ; @PPC4XX_NUM_GD
	.comm	_ERING_WAS_FULL,4,2             ; @ERING_WAS_FULL
.subsections_via_symbols
