	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_th_driver_register       ## -- Begin function intel_th_driver_register
	.p2align	4, 0x90
_intel_th_driver_register:              ## @intel_th_driver_register
	.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, 12(%rdi)
	je	LBB0_2
## %bb.1:
	cmpl	$0, 8(%rdi)
	je	LBB0_2
## %bb.3:
	movq	_intel_th_bus@GOTPCREL(%rip), %rax
	movq	%rax, (%rdi)
	popq	%rbp
	jmp	_driver_register                ## TAILCALL
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_intel_th_bus,4,2               ## @intel_th_bus
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_intel_th_driver_register       ; -- Begin function intel_th_driver_register
	.p2align	2
_intel_th_driver_register:              ; @intel_th_driver_register
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0, #12]
	cbz	w8, LBB0_3
; %bb.1:
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _intel_th_bus@GOTPAGE
Lloh1:
	ldr	x8, [x8, _intel_th_bus@GOTPAGEOFF]
	str	x8, [x0]
	b	_driver_register
LBB0_3:
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	neg	w0, w8
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_intel_th_bus,4,2               ; @intel_th_bus
.subsections_via_symbols
