	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dt_cg_load
_dt_cg_load:                            ## @dt_cg_load
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_DT_NF_BITFIELD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_3
## %bb.1:
	leaq	-32(%rbp), %rdx
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_ctf_type_encoding
	movq	_CTF_ERR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
LBB0_3:
	movq	%rbx, %rdi
	movl	%r15d, %esi
	callq	_ctf_type_size
	jmp	LBB0_4
LBB0_2:
	movl	-32(%rbp), %edi
	movq	_NBBY@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	callq	_P2ROUNDUP
	cltd
	idivl	(%rbx)
	movl	%eax, %edi
	callq	_clp2
LBB0_4:
                                        ## kill: def $eax killed $eax def $rax
	leal	-1(%rax), %ebx
	cmpl	$7, %ebx
	ja	LBB0_6
## %bb.5:
	movl	%eax, %ecx
	shrl	%ecx
	andl	$1431655765, %ecx               ## imm = 0x55555555
	movl	%eax, %edx
	subl	%ecx, %edx
	movl	%edx, %ecx
	andl	$858993459, %ecx                ## imm = 0x33333333
	shrl	$2, %edx
	andl	$858993459, %edx                ## imm = 0x33333333
	addl	%ecx, %edx
	movl	%edx, %ecx
	shrl	$4, %ecx
	addl	%edx, %ecx
	andl	$252645135, %ecx                ## imm = 0xF0F0F0F
	imull	$16843009, %ecx, %ecx           ## imm = 0x1010101
	shrl	$24, %ecx
	cmpl	$2, %ecx
	jb	LBB0_7
LBB0_6:
	movq	_D_UNKNOWN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movslq	%eax, %rdx
	leaq	L_.str(%rip), %rsi
	callq	_xyerror
LBB0_7:
	movl	(%r14), %eax
	movq	_DT_NF_SIGNED@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	andl	%eax, %ecx
	movl	%ebx, %edx
	orl	$8, %edx
	testl	%ecx, %ecx
	cmovel	%ebx, %edx
	movq	_DT_NF_USERLAND@GOTPCREL(%rip), %rcx
	andl	(%rcx), %eax
	movl	%edx, %ecx
	orl	$16, %ecx
	testl	%eax, %eax
	cmovel	%edx, %ecx
	movslq	%ecx, %rax
	leaq	_dt_cg_load.ops(%rip), %rcx
	movl	(%rcx,%rax,4), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @dt_cg_load.ops
_dt_cg_load.ops:
	.long	138                             ## 0x8a
	.long	137                             ## 0x89
	.long	0                               ## 0x0
	.long	136                             ## 0x88
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	135                             ## 0x87
	.long	141                             ## 0x8d
	.long	140                             ## 0x8c
	.long	0                               ## 0x0
	.long	139                             ## 0x8b
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	135                             ## 0x87
	.long	131                             ## 0x83
	.long	130                             ## 0x82
	.long	0                               ## 0x0
	.long	129                             ## 0x81
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	128                             ## 0x80
	.long	134                             ## 0x86
	.long	133                             ## 0x85
	.long	0                               ## 0x0
	.long	132                             ## 0x84
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	0                               ## 0x0
	.long	128                             ## 0x80

	.comm	_DT_NF_BITFIELD,4,2             ## @DT_NF_BITFIELD
	.comm	_CTF_ERR,8,3                    ## @CTF_ERR
	.comm	_NBBY,4,2                       ## @NBBY
	.comm	_D_UNKNOWN,4,2                  ## @D_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"internal error -- cg cannot load size %ld when passed by value\n"

	.comm	_DT_NF_SIGNED,4,2               ## @DT_NF_SIGNED
	.comm	_DT_NF_USERLAND,4,2             ## @DT_NF_USERLAND
	.no_dead_strip	_dt_cg_load
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dt_cg_load
_dt_cg_load:                            ; @dt_cg_load
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _DT_NF_BITFIELD@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DT_NF_BITFIELD@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_ctf_type_encoding
Lloh3:
	adrp	x8, _CTF_ERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _CTF_ERR@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_3
LBB0_2:
	mov	x0, x21
	mov	x1, x20
	bl	_ctf_type_size
	b	LBB0_4
LBB0_3:
	ldr	w0, [sp, #8]
Lloh6:
	adrp	x20, _NBBY@GOTPAGE
Lloh7:
	ldr	x20, [x20, _NBBY@GOTPAGEOFF]
	ldr	w1, [x20]
	bl	_P2ROUNDUP
	ldr	w8, [x20]
	sdiv	w0, w0, w8
	bl	_clp2
LBB0_4:
                                        ; kill: def $w0 killed $w0 def $x0
	sub	w20, w0, #1
	cmp	w20, #7
	b.hi	LBB0_6
; %bb.5:
	mov	w8, w0
	fmov	d0, x8
	cnt.8b	v0, v0
	uaddlv.8b	h0, v0
	fmov	w8, s0
	cmp	w8, #2
	b.lo	LBB0_7
LBB0_6:
Lloh8:
	adrp	x8, _D_UNKNOWN@GOTPAGE
Lloh9:
	ldr	x8, [x8, _D_UNKNOWN@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	sxtw	x2, w0
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x8
	bl	_xyerror
LBB0_7:
	ldr	w8, [x19]
Lloh13:
	adrp	x9, _DT_NF_SIGNED@GOTPAGE
Lloh14:
	ldr	x9, [x9, _DT_NF_SIGNED@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w10, w20, #0x8
	tst	w9, w8
	csel	w9, w20, w10, eq
Lloh16:
	adrp	x10, _DT_NF_USERLAND@GOTPAGE
Lloh17:
	ldr	x10, [x10, _DT_NF_USERLAND@GOTPAGEOFF]
Lloh18:
	ldr	w10, [x10]
	orr	w11, w9, #0x10
	tst	w10, w8
	csel	w8, w9, w11, eq
Lloh19:
	adrp	x9, _dt_cg_load.ops@PAGE
Lloh20:
	add	x9, x9, _dt_cg_load.ops@PAGEOFF
	ldr	w0, [x9, w8, sxtw #2]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
	.p2align	2                               ; @dt_cg_load.ops
_dt_cg_load.ops:
	.long	138                             ; 0x8a
	.long	137                             ; 0x89
	.long	0                               ; 0x0
	.long	136                             ; 0x88
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	135                             ; 0x87
	.long	141                             ; 0x8d
	.long	140                             ; 0x8c
	.long	0                               ; 0x0
	.long	139                             ; 0x8b
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	135                             ; 0x87
	.long	131                             ; 0x83
	.long	130                             ; 0x82
	.long	0                               ; 0x0
	.long	129                             ; 0x81
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	128                             ; 0x80
	.long	134                             ; 0x86
	.long	133                             ; 0x85
	.long	0                               ; 0x0
	.long	132                             ; 0x84
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	0                               ; 0x0
	.long	128                             ; 0x80

	.comm	_DT_NF_BITFIELD,4,2             ; @DT_NF_BITFIELD
	.comm	_CTF_ERR,8,3                    ; @CTF_ERR
	.comm	_NBBY,4,2                       ; @NBBY
	.comm	_D_UNKNOWN,4,2                  ; @D_UNKNOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"internal error -- cg cannot load size %ld when passed by value\n"

	.comm	_DT_NF_SIGNED,4,2               ; @DT_NF_SIGNED
	.comm	_DT_NF_USERLAND,4,2             ; @DT_NF_USERLAND
	.no_dead_strip	_dt_cg_load
.subsections_via_symbols
