	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_type_passed_as                 ## -- Begin function type_passed_as
	.p2align	4, 0x90
_type_passed_as:                        ## @type_passed_as
	.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	%edi, %ebx
	callq	_TREE_ADDRESSABLE
	testq	%rax, %rax
	je	LBB0_1
## %bb.7:
	movl	%ebx, %edi
	callq	_build_reference_type
	movq	_TYPE_QUAL_RESTRICT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_build_qualified_type           ## TAILCALL
LBB0_1:
	movq	_targetm@GOTPCREL(%rip), %rax
	movl	%ebx, %edi
	callq	*(%rax)
	testq	%rax, %rax
	je	LBB0_6
## %bb.2:
	movl	%ebx, %edi
	callq	_INTEGRAL_TYPE_P
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	movl	%ebx, %edi
	callq	_COMPLETE_TYPE_P
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movl	%ebx, %edi
	callq	_TYPE_SIZE
	movl	%eax, %r14d
	movq	_integer_type_node@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_TYPE_SIZE
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_INT_CST_LT_UNSIGNED
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	(%r15), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPE_QUAL_RESTRICT,4,2         ## @TYPE_QUAL_RESTRICT
	.comm	_targetm,8,3                    ## @targetm
	.comm	_integer_type_node,4,2          ## @integer_type_node
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_type_passed_as                 ; -- Begin function type_passed_as
	.p2align	2
_type_passed_as:                        ; @type_passed_as
	.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, x0
	bl	_TREE_ADDRESSABLE
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_build_reference_type
Lloh0:
	adrp	x8, _TYPE_QUAL_RESTRICT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TYPE_QUAL_RESTRICT@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	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
	b	_build_qualified_type
LBB0_2:
Lloh3:
	adrp	x8, _targetm@GOTPAGE
Lloh4:
	ldr	x8, [x8, _targetm@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	mov	x0, x19
	blr	x8
	cbz	x0, LBB0_6
; %bb.3:
	mov	x0, x19
	bl	_INTEGRAL_TYPE_P
	cbz	x0, LBB0_6
; %bb.4:
	mov	x0, x19
	bl	_COMPLETE_TYPE_P
	cbz	x0, LBB0_6
; %bb.5:
	mov	x0, x19
	bl	_TYPE_SIZE
	mov	x20, x0
Lloh6:
	adrp	x21, _integer_type_node@GOTPAGE
Lloh7:
	ldr	x21, [x21, _integer_type_node@GOTPAGEOFF]
	ldr	w0, [x21]
	bl	_TYPE_SIZE
	mov	x1, x0
	mov	x0, x20
	bl	_INT_CST_LT_UNSIGNED
	ldr	w8, [x21]
	cmp	x0, #0
	csel	w19, w19, w8, eq
LBB0_6:
	mov	x0, x19
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPE_QUAL_RESTRICT,4,2         ; @TYPE_QUAL_RESTRICT
	.comm	_targetm,8,3                    ; @targetm
	.comm	_integer_type_node,4,2          ; @integer_type_node
.subsections_via_symbols
