	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function button_hotplug_fill_event
_button_hotplug_fill_event:             ## @button_hotplug_fill_event
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdx
	leaq	L_.str.1(%rip), %rcx
	xorl	%esi, %esi
	callq	_bh_event_add_var
	testl	%eax, %eax
	jne	LBB0_8
## %bb.1:
	leaq	L_.str.2(%rip), %rdx
	leaq	L_.str.3(%rip), %rcx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_bh_event_add_var
	testl	%eax, %eax
	jne	LBB0_8
## %bb.2:
	leaq	L_.str.4(%rip), %rdx
	leaq	L_.str.5(%rip), %rcx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_bh_event_add_var
	testl	%eax, %eax
	jne	LBB0_8
## %bb.3:
	movq	(%rbx), %rcx
	leaq	L_.str.6(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_bh_event_add_var
	testl	%eax, %eax
	jne	LBB0_8
## %bb.4:
	movq	8(%rbx), %rcx
	leaq	L_.str.7(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_bh_event_add_var
	testl	%eax, %eax
	jne	LBB0_8
## %bb.5:
	movq	16(%rbx), %rax
	movq	_EV_SW@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.8(%rip), %rdx
	leaq	L_.str.9(%rip), %rcx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_bh_event_add_var
	testl	%eax, %eax
	jne	LBB0_8
LBB0_7:
	movq	24(%rbx), %rcx
	leaq	L_.str.10(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_bh_event_add_var
	testl	%eax, %eax
	je	LBB0_9
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_9:
	xorl	%eax, %eax
	callq	_uevent_next_seqnum
	leaq	L_.str.11(%rip), %rdx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movq	%rax, %rcx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_bh_event_add_var               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HOME=%s"

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

L_.str.2:                               ## @.str.2
	.asciz	"PATH=%s"

L_.str.3:                               ## @.str.3
	.asciz	"/sbin:/bin:/usr/sbin:/usr/bin"

L_.str.4:                               ## @.str.4
	.asciz	"SUBSYSTEM=%s"

L_.str.5:                               ## @.str.5
	.asciz	"button"

L_.str.6:                               ## @.str.6
	.asciz	"ACTION=%s"

L_.str.7:                               ## @.str.7
	.asciz	"BUTTON=%s"

	.comm	_EV_SW,8,3                      ## @EV_SW
L_.str.8:                               ## @.str.8
	.asciz	"TYPE=%s"

L_.str.9:                               ## @.str.9
	.asciz	"switch"

L_.str.10:                              ## @.str.10
	.asciz	"SEEN=%ld"

L_.str.11:                              ## @.str.11
	.asciz	"SEQNUM=%llu"

	.no_dead_strip	_button_hotplug_fill_event
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function button_hotplug_fill_event
_button_hotplug_fill_event:             ; @button_hotplug_fill_event
	.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
	mov	x19, x0
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
Lloh2:
	adrp	x3, l_.str.1@PAGE
Lloh3:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	w1, #0
	bl	_bh_event_add_var
	cbnz	w0, LBB0_8
; %bb.1:
Lloh4:
	adrp	x2, l_.str.2@PAGE
Lloh5:
	add	x2, x2, l_.str.2@PAGEOFF
Lloh6:
	adrp	x3, l_.str.3@PAGE
Lloh7:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	bl	_bh_event_add_var
	cbnz	w0, LBB0_8
; %bb.2:
Lloh8:
	adrp	x2, l_.str.4@PAGE
Lloh9:
	add	x2, x2, l_.str.4@PAGEOFF
Lloh10:
	adrp	x3, l_.str.5@PAGE
Lloh11:
	add	x3, x3, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	bl	_bh_event_add_var
	cbnz	w0, LBB0_8
; %bb.3:
	ldr	x3, [x19]
Lloh12:
	adrp	x2, l_.str.6@PAGE
Lloh13:
	add	x2, x2, l_.str.6@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	bl	_bh_event_add_var
	cbnz	w0, LBB0_8
; %bb.4:
	ldr	x3, [x19, #8]
Lloh14:
	adrp	x2, l_.str.7@PAGE
Lloh15:
	add	x2, x2, l_.str.7@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	bl	_bh_event_add_var
	cbnz	w0, LBB0_8
; %bb.5:
	ldr	x8, [x19, #16]
Lloh16:
	adrp	x9, _EV_SW@GOTPAGE
Lloh17:
	ldr	x9, [x9, _EV_SW@GOTPAGEOFF]
Lloh18:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
Lloh19:
	adrp	x2, l_.str.8@PAGE
Lloh20:
	add	x2, x2, l_.str.8@PAGEOFF
Lloh21:
	adrp	x3, l_.str.9@PAGE
Lloh22:
	add	x3, x3, l_.str.9@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	bl	_bh_event_add_var
	cbnz	w0, LBB0_8
LBB0_7:
	ldr	x3, [x19, #24]
Lloh23:
	adrp	x2, l_.str.10@PAGE
Lloh24:
	add	x2, x2, l_.str.10@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	bl	_bh_event_add_var
	cbz	w0, LBB0_9
LBB0_8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_9:
	bl	_uevent_next_seqnum
	mov	x3, x0
Lloh25:
	adrp	x2, l_.str.11@PAGE
Lloh26:
	add	x2, x2, l_.str.11@PAGEOFF
	mov	x0, x19
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_bh_event_add_var
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HOME=%s"

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

l_.str.2:                               ; @.str.2
	.asciz	"PATH=%s"

l_.str.3:                               ; @.str.3
	.asciz	"/sbin:/bin:/usr/sbin:/usr/bin"

l_.str.4:                               ; @.str.4
	.asciz	"SUBSYSTEM=%s"

l_.str.5:                               ; @.str.5
	.asciz	"button"

l_.str.6:                               ; @.str.6
	.asciz	"ACTION=%s"

l_.str.7:                               ; @.str.7
	.asciz	"BUTTON=%s"

	.comm	_EV_SW,8,3                      ; @EV_SW
l_.str.8:                               ; @.str.8
	.asciz	"TYPE=%s"

l_.str.9:                               ; @.str.9
	.asciz	"switch"

l_.str.10:                              ; @.str.10
	.asciz	"SEEN=%ld"

l_.str.11:                              ; @.str.11
	.asciz	"SEQNUM=%llu"

	.no_dead_strip	_button_hotplug_fill_event
.subsections_via_symbols
