	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function atrtc_probe
_atrtc_probe:                           ## @atrtc_probe
	.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	_atrtc_enabled@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, %eax
	je	LBB0_4
## %bb.1:
	movl	%edi, %ebx
	cmpl	$-1, %eax
	jne	LBB0_5
## %bb.2:
	xorl	%eax, %eax
	callq	_atrtc_acpi_disabled
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	cmpl	$0, (%r14)
	je	LBB0_4
LBB0_5:
	movl	%ebx, %edi
	callq	_device_get_parent
	movq	_atrtc_ids@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%eax, %edi
	movl	%ebx, %esi
	callq	_ISA_PNP_PROBE
	movq	_ENOENT@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.6:
	leaq	L_.str(%rip), %rsi
	movl	%ebx, %edi
	callq	_device_set_desc
	movq	_BUS_PROBE_LOW_PRIORITY@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_4:
	movq	_ENXIO@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
LBB0_8:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_atrtc_enabled,4,2              ## @atrtc_enabled
	.comm	_ENXIO,4,2                      ## @ENXIO
	.comm	_atrtc_ids,4,2                  ## @atrtc_ids
	.comm	_ENOENT,4,2                     ## @ENOENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"AT realtime clock"

	.comm	_BUS_PROBE_LOW_PRIORITY,4,2     ## @BUS_PROBE_LOW_PRIORITY
	.no_dead_strip	_atrtc_probe
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function atrtc_probe
_atrtc_probe:                           ; @atrtc_probe
	.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
Lloh0:
	adrp	x20, _atrtc_enabled@GOTPAGE
Lloh1:
	ldr	x20, [x20, _atrtc_enabled@GOTPAGEOFF]
	ldr	w8, [x20]
	cbz	w8, LBB0_6
; %bb.1:
	mov	x19, x0
	cmn	w8, #1
	b.ne	LBB0_4
; %bb.2:
	bl	_atrtc_acpi_disabled
	cbnz	x0, LBB0_6
; %bb.3:
	ldr	w8, [x20]
	cbz	w8, LBB0_6
LBB0_4:
	mov	x0, x19
	bl	_device_get_parent
Lloh2:
	adrp	x8, _atrtc_ids@GOTPAGE
Lloh3:
	ldr	x8, [x8, _atrtc_ids@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x1, x19
	bl	_ISA_PNP_PROBE
Lloh5:
	adrp	x8, _ENOENT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_8
; %bb.5:
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_device_set_desc
Lloh10:
	adrp	x8, _BUS_PROBE_LOW_PRIORITY@GOTPAGE
Lloh11:
	ldr	x8, [x8, _BUS_PROBE_LOW_PRIORITY@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh12:
	adrp	x8, _ENXIO@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ENXIO@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_atrtc_enabled,4,2              ; @atrtc_enabled
	.comm	_ENXIO,4,2                      ; @ENXIO
	.comm	_atrtc_ids,4,2                  ; @atrtc_ids
	.comm	_ENOENT,4,2                     ; @ENOENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"AT realtime clock"

	.comm	_BUS_PROBE_LOW_PRIORITY,4,2     ; @BUS_PROBE_LOW_PRIORITY
	.no_dead_strip	_atrtc_probe
.subsections_via_symbols
