	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ts_dmi_add_props
_ts_dmi_add_props:                      ## @ts_dmi_add_props
	.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
	leaq	4(%rdi), %r14
	movq	%r14, %rdi
	callq	_has_acpi_companion
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	_ts_data@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movl	4(%rax), %edi
	movl	(%rbx), %esi
	movq	_I2C_NAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	callq	_strncmp
	testl	%eax, %eax
	je	LBB0_2
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	(%r15), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_device_add_properties
	testl	%eax, %eax
	je	LBB0_3
## %bb.4:
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dev_err                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ts_data,8,3                    ## @ts_data
	.comm	_I2C_NAME_SIZE,4,2              ## @I2C_NAME_SIZE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed to add properties: %d\n"

	.no_dead_strip	_ts_dmi_add_props
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ts_dmi_add_props
_ts_dmi_add_props:                      ; @ts_dmi_add_props
	.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	x20, x0
	add	x19, x0, #4
	mov	x0, x19
	bl	_has_acpi_companion
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x21, _ts_data@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ts_data@GOTPAGEOFF]
	ldr	x8, [x21]
	ldr	w0, [x8, #4]
	ldr	w1, [x20]
Lloh2:
	adrp	x8, _I2C_NAME_SIZE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _I2C_NAME_SIZE@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	bl	_strncmp
	cbz	w0, LBB0_3
LBB0_2:
	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_3:
	ldr	x8, [x21]
	ldr	w1, [x8]
	mov	x0, x19
	bl	_device_add_properties
	cbz	w0, LBB0_2
; %bb.4:
	mov	x2, x0
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	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	_dev_err
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ts_data,8,3                    ; @ts_data
	.comm	_I2C_NAME_SIZE,4,2              ; @I2C_NAME_SIZE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed to add properties: %d\n"

	.no_dead_strip	_ts_dmi_add_props
.subsections_via_symbols
