	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rcar_gen3_check_id
_rcar_gen3_check_id:                    ## @rcar_gen3_check_id
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$0, 16(%rdi)
	je	LBB0_1
## %bb.2:
	movq	_USB2_ADPCTRL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	8(%rdi), %rax
	movq	%rax, %rdi
	callq	_readl
	movq	_USB2_ADPCTRL_IDDIG@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jmp	LBB0_3
LBB0_1:
	movq	(%rdi), %rax
	movq	_USB_DR_MODE_HOST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
LBB0_3:
	setne	%al
	movzbl	%al, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_USB_DR_MODE_HOST,8,3           ## @USB_DR_MODE_HOST
	.comm	_USB2_ADPCTRL,8,3               ## @USB2_ADPCTRL
	.comm	_USB2_ADPCTRL_IDDIG,4,2         ## @USB2_ADPCTRL_IDDIG
	.no_dead_strip	_rcar_gen3_check_id
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rcar_gen3_check_id
_rcar_gen3_check_id:                    ; @rcar_gen3_check_id
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	x8, [x0, #8]
Lloh0:
	adrp	x9, _USB2_ADPCTRL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _USB2_ADPCTRL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x0, x9, x8
	bl	_readl
Lloh3:
	adrp	x8, _USB2_ADPCTRL_IDDIG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _USB2_ADPCTRL_IDDIG@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w0
	b	LBB0_3
LBB0_2:
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _USB_DR_MODE_HOST@GOTPAGE
Lloh7:
	ldr	x9, [x9, _USB_DR_MODE_HOST@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
LBB0_3:
	cset	w0, ne
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_USB_DR_MODE_HOST,8,3           ; @USB_DR_MODE_HOST
	.comm	_USB2_ADPCTRL,8,3               ; @USB2_ADPCTRL
	.comm	_USB2_ADPCTRL_IDDIG,4,2         ; @USB2_ADPCTRL_IDDIG
	.no_dead_strip	_rcar_gen3_check_id
.subsections_via_symbols
