	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function intel_th_master_attributes
_intel_th_master_attributes:            ## @intel_th_master_attributes
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_TH_CONFIGURABLE_MASTERS@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	addl	$2, %ebx
	movq	16(%rdi), %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	movl	%ebx, %esi
	movl	$8, %edx
	callq	_devm_kcalloc
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_9
## %bb.1:
	movq	16(%r15), %rdi
	movl	(%r14), %ecx
	movl	%ebx, %esi
	movl	$40, %edx
	callq	_devm_kcalloc
	testq	%rax, %rax
	je	LBB0_9
## %bb.2:
	movq	%rax, %rbx
	movq	_TH_CONFIGURABLE_MASTERS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, %eax
	js	LBB0_8
## %bb.3:
	addq	$36, %rbx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movl	%eax, %eax
	leaq	L_.str.1(%rip), %r8
	cmpq	%rax, %r12
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	L_.str.2(%rip), %r8
LBB0_6:                                 ##   in Loop: Header=BB0_4 Depth=1
	movq	16(%r15), %rdi
	movl	(%r14), %esi
	leaq	L_.str(%rip), %rdx
	movl	%r12d, %ecx
	callq	_devm_kasprintf
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_4 Depth=1
	leaq	-20(%rbx), %r13
	movq	%rax, -20(%rbx)
	movq	_S_IWUSR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_S_IRUGO@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, -12(%rbx)
	movq	_master_attr_show@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	_master_attr_store@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -4(%rbx)
	movq	%r13, %rdi
	callq	_sysfs_attr_init
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%r13, (%rax,%r12,8)
	movq	%r15, -28(%rbx)
	movl	%r12d, -36(%rbx)
	leaq	1(%r12), %rcx
	movq	_TH_CONFIGURABLE_MASTERS@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	addq	$40, %rbx
	cmpq	%rax, %r12
	movq	%rcx, %r12
	jl	LBB0_4
LBB0_8:
	leaq	L_.str.3(%rip), %rax
	movq	%rax, (%r15)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 8(%r15)
	movq	16(%r15), %rdi
	movq	%r15, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_sysfs_create_group             ## TAILCALL
LBB0_9:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TH_CONFIGURABLE_MASTERS,4,2    ## @TH_CONFIGURABLE_MASTERS
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d%s"

L_.str.1:                               ## @.str.1
	.asciz	"+"

L_.str.2:                               ## @.str.2
	.space	1

	.comm	_S_IRUGO,4,2                    ## @S_IRUGO
	.comm	_S_IWUSR,4,2                    ## @S_IWUSR
	.comm	_master_attr_show,4,2           ## @master_attr_show
	.comm	_master_attr_store,4,2          ## @master_attr_store
L_.str.3:                               ## @.str.3
	.asciz	"masters"

	.no_dead_strip	_intel_th_master_attributes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function intel_th_master_attributes
_intel_th_master_attributes:            ; @intel_th_master_attributes
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
Lloh0:
	adrp	x8, _TH_CONFIGURABLE_MASTERS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TH_CONFIGURABLE_MASTERS@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	add	w21, w8, #2
	ldr	x0, [x0, #16]
Lloh3:
	adrp	x25, _GFP_KERNEL@GOTPAGE
Lloh4:
	ldr	x25, [x25, _GFP_KERNEL@GOTPAGEOFF]
	ldr	w3, [x25]
	mov	x1, x21
	mov	w2, #8
	bl	_devm_kcalloc
	cbz	x0, LBB0_7
; %bb.1:
	mov	x20, x0
	ldr	x0, [x19, #16]
	ldr	w3, [x25]
	mov	x1, x21
	mov	w2, #40
	bl	_devm_kcalloc
	cbz	x0, LBB0_7
; %bb.2:
Lloh5:
	adrp	x8, _TH_CONFIGURABLE_MASTERS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TH_CONFIGURABLE_MASTERS@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	tbnz	w8, #31, LBB0_6
; %bb.3:
	mov	x21, #0
	add	x26, x0, #24
Lloh8:
	adrp	x24, l_.str.1@PAGE
Lloh9:
	add	x24, x24, l_.str.1@PAGEOFF
Lloh10:
	adrp	x28, _master_attr_show@GOTPAGE
Lloh11:
	ldr	x28, [x28, _master_attr_show@GOTPAGEOFF]
Lloh12:
	adrp	x27, _master_attr_store@GOTPAGE
Lloh13:
	ldr	x27, [x27, _master_attr_store@GOTPAGEOFF]
Lloh14:
	adrp	x22, l_.str@PAGE
Lloh15:
	add	x22, x22, l_.str@PAGEOFF
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x19, #16]
	ldr	w1, [x25]
	cmp	x21, w8, uxtw
Lloh16:
	adrp	x8, l_.str.2@PAGE
Lloh17:
	add	x8, x8, l_.str.2@PAGEOFF
	csel	x4, x24, x8, eq
	mov	x2, x22
	mov	x3, x21
	bl	_devm_kasprintf
	cbz	x0, LBB0_7
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x23, x26
	str	x0, [x23, #-8]!
Lloh18:
	adrp	x8, _S_IRUGO@GOTPAGE
Lloh19:
	ldr	x8, [x8, _S_IRUGO@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
Lloh21:
	adrp	x9, _S_IWUSR@GOTPAGE
Lloh22:
	ldr	x9, [x9, _S_IWUSR@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x26]
	ldr	w8, [x28]
	str	w8, [x26, #12]
	ldr	w8, [x27]
	str	w8, [x26, #8]
	mov	x0, x23
	bl	_sysfs_attr_init
	str	x23, [x20, x21, lsl #3]
	stur	x19, [x26, #-16]
	stur	w21, [x26, #-24]
	add	x9, x21, #1
Lloh24:
	adrp	x8, _TH_CONFIGURABLE_MASTERS@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TH_CONFIGURABLE_MASTERS@GOTPAGEOFF]
Lloh26:
	ldrsw	x8, [x8]
	add	x26, x26, #40
	cmp	x21, x8
	mov	x21, x9
	b.lt	LBB0_4
LBB0_6:
Lloh27:
	adrp	x8, l_.str.3@PAGE
Lloh28:
	add	x8, x8, l_.str.3@PAGEOFF
	stp	x8, x20, [x19]
	ldr	x0, [x19, #16]
	mov	x1, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_sysfs_create_group
LBB0_7:
Lloh29:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh30:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	neg	w0, w8
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.cfi_endproc
                                        ; -- End function
	.comm	_TH_CONFIGURABLE_MASTERS,4,2    ; @TH_CONFIGURABLE_MASTERS
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d%s"

l_.str.1:                               ; @.str.1
	.asciz	"+"

l_.str.2:                               ; @.str.2
	.space	1

	.comm	_S_IRUGO,4,2                    ; @S_IRUGO
	.comm	_S_IWUSR,4,2                    ; @S_IWUSR
	.comm	_master_attr_show,4,2           ; @master_attr_show
	.comm	_master_attr_store,4,2          ; @master_attr_store
l_.str.3:                               ; @.str.3
	.asciz	"masters"

	.no_dead_strip	_intel_th_master_attributes
.subsections_via_symbols
