	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function at24_get_chip_data
_at24_get_chip_data:                    ## @at24_get_chip_data
	.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
	movq	%rdi, %rbx
	movq	_at24_ids@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	(%rdi), %r15
	callq	_to_i2c_client
	movl	%r14d, %edi
	movl	%eax, %esi
	callq	_i2c_match_id
	movq	%rax, %r14
	testq	%r15, %r15
	je	LBB0_3
## %bb.1:
	movq	_at24_of_match@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_of_match_device
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	_of_device_get_match_data
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_8
LBB0_3:
	testq	%r14, %r14
	je	LBB0_5
## %bb.4:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_8
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, %rdi
	callq	_acpi_device_get_match_data
	testq	%rax, %rax
	jne	LBB0_7
LBB0_8:
	movq	_ENODEV@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_ERR_PTR                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_at24_ids,4,2                   ## @at24_ids
	.comm	_at24_of_match,4,2              ## @at24_of_match
	.comm	_ENODEV,4,2                     ## @ENODEV
	.no_dead_strip	_at24_get_chip_data
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function at24_get_chip_data
_at24_get_chip_data:                    ; @at24_get_chip_data
	.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
	ldr	x21, [x0]
Lloh0:
	adrp	x8, _at24_ids@GOTPAGE
Lloh1:
	ldr	x8, [x8, _at24_ids@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	bl	_to_i2c_client
	mov	x1, x0
	mov	x0, x20
	bl	_i2c_match_id
	mov	x20, x0
	cbz	x21, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _at24_of_match@GOTPAGE
Lloh4:
	ldr	x8, [x8, _at24_of_match@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_of_match_device
	cbz	x0, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_of_device_get_match_data
	cbnz	x0, LBB0_5
	b	LBB0_7
LBB0_3:
	cbz	x20, LBB0_6
; %bb.4:
	ldr	x0, [x20]
	cbz	x0, LBB0_7
LBB0_5:
	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
LBB0_6:
	mov	x0, x19
	bl	_acpi_device_get_match_data
	cbnz	x0, LBB0_5
LBB0_7:
Lloh6:
	adrp	x8, _ENODEV@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
	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	_ERR_PTR
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_at24_ids,4,2                   ; @at24_ids
	.comm	_at24_of_match,4,2              ; @at24_of_match
	.comm	_ENODEV,4,2                     ; @ENODEV
	.no_dead_strip	_at24_get_chip_data
.subsections_via_symbols
