	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function host1x_irq_hook
_host1x_irq_hook:                       ## @host1x_irq_hook
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	addq	$16, %rdi
	callq	_config_intrhook_disestablish
	movq	_tegra_drm_driver@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_tegra_bo_driver_register
	movl	4(%rbx), %edi
	movq	8(%rbx), %rsi
	movq	%r14, %rdx
	callq	_drm_get_platform_dev
	testl	%eax, %eax
	je	LBB0_1
## %bb.2:
	movl	4(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	%eax, %edx
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_device_printf                  ## TAILCALL
LBB0_1:
	movl	$1, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_tegra_drm_driver,4,2           ## @tegra_drm_driver
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"drm_get_platform_dev(): %d\n"

	.no_dead_strip	_host1x_irq_hook
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function host1x_irq_hook
_host1x_irq_hook:                       ; @host1x_irq_hook
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	add	x0, x0, #16
	bl	_config_intrhook_disestablish
Lloh0:
	adrp	x20, _tegra_drm_driver@GOTPAGE
Lloh1:
	ldr	x20, [x20, _tegra_drm_driver@GOTPAGEOFF]
	mov	x0, x20
	bl	_tegra_bo_driver_register
	ldr	w0, [x19, #4]
	ldr	x1, [x19, #8]
	mov	x2, x20
	bl	_drm_get_platform_dev
	cbz	w0, LBB0_2
; %bb.1:
	mov	x2, x0
	ldr	w0, [x19, #4]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_device_printf
LBB0_2:
	mov	w8, #1
	str	w8, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_tegra_drm_driver,4,2           ; @tegra_drm_driver
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"drm_get_platform_dev(): %d\n"

	.no_dead_strip	_host1x_irq_hook
.subsections_via_symbols
