	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ng_parse_get_elem_pad
_ng_parse_get_elem_pad:                 ## @ng_parse_get_elem_pad
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movl	%edx, %ebx
	movl	%esi, %r15d
	movq	%rdi, %r12
	callq	_ng_get_composite_etype
	movq	%rax, %rdi
	callq	_ALIGNMENT
	movl	%eax, %ecx
	movq	_CT_STRUCT@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_2
## %bb.1:
	movq	(%r12), %rax
	movslq	%r15d, %rdx
	movl	(%rax,%rdx,4), %eax
	testl	%eax, %eax
	cmovnel	%eax, %ecx
LBB0_2:
	testl	%ecx, %ecx
	je	LBB0_3
## %bb.4:
	movl	%r14d, %eax
	cltd
	idivl	%ecx
	movl	%ecx, %eax
	subl	%edx, %eax
	cltd
	idivl	%ecx
	movl	%edx, %eax
	jmp	LBB0_5
LBB0_3:
	xorl	%eax, %eax
LBB0_5:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CT_STRUCT,4,2                  ## @CT_STRUCT
	.no_dead_strip	_ng_parse_get_elem_pad
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ng_parse_get_elem_pad
_ng_parse_get_elem_pad:                 ; @ng_parse_get_elem_pad
	.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
	mov	x19, x3
	mov	x22, x2
	mov	x20, x1
	mov	x21, x0
	bl	_ng_get_composite_etype
	bl	_ALIGNMENT
Lloh0:
	adrp	x8, _CT_STRUCT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CT_STRUCT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w22
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x21]
	ldr	w8, [x8, w20, sxtw #2]
	cmp	w8, #0
	csel	w0, w0, w8, eq
LBB0_2:
	cbz	w0, LBB0_4
; %bb.3:
	sdiv	w8, w19, w0
	neg	w9, w19
	madd	w8, w8, w0, w9
	add	w8, w0, w8
	sdiv	w9, w8, w0
	msub	w0, w9, w0, w8
LBB0_4:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CT_STRUCT,4,2                  ; @CT_STRUCT
	.no_dead_strip	_ng_parse_get_elem_pad
.subsections_via_symbols
